Invoke-STPE Posted October 9, 2020 Posted October 9, 2020 (edited) Hello. Is it possible if the player stands outside a car, to locate what car window he stands in front? Edited October 9, 2020 by Invoke-STPE
bogoslovniy Posted October 9, 2020 Posted October 9, 2020 https://wiki.rage.mp/index.php?title=Vehicle_Bones Calculate the distance from the player to the window and choose the smallest one use index = GetBoneIndexByName(name) and GetWorldPositionOfBone(index )
Invoke-STPE Posted October 10, 2020 Author Posted October 10, 2020 Whenever i attempt to use the command it requires an entity as an int, but i cant seem to figure out, what im supposed to use in there, is it the vehicle.Id field? http://imgur.com/PgxnMio
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now