gamehook_gtav icon indicating copy to clipboard operation
gamehook_gtav copied to clipboard

Know which InstanceID from object_id is the one

Open MrDasix opened this issue 2 years ago • 0 comments

Hi! I currently have an Script that spawns vehicles into the GTAV world, and start the capture plugin from GameHook. Is there a way to know relate the car spawned with the object_id you get from the object_id target?

Ik that i can use ((id >> 28) & 0xf) and id & ((1<<28)-1) to get InstanceID and ObjectID but there is no way to relate the vehicle spawned with any of the Id's output

MrDasix avatar Apr 01 '22 15:04 MrDasix