Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Know which InstanceID from object_id is the one #15

Open
MrDasix opened this issue Apr 1, 2022 · 0 comments
Open

Know which InstanceID from object_id is the one #15

MrDasix opened this issue Apr 1, 2022 · 0 comments

Comments

@MrDasix
Copy link

MrDasix commented Apr 1, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant