gamehook_gtav
gamehook_gtav copied to clipboard
Know which InstanceID from object_id is the one
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