Detect wheels
#1

Hi guys, how are you? So I was wondering how to detect if the player is near any of the 4 wheels of the vehicle, should I use GetVehicleModelInfo? If so, how?
Reply
#2

Okay, so i found this on how to detect if the player is by the trunk or by the hood:

http://forum.sa-mp.com/showpost.php?...18&postcount=7

So by looking at this, it seems that this line is very useful:

Код:
GetVehicleModelInfo(411, VEHICLE_MODEL_INFO_SIZE, X, Y, Z);
So i am sure you can mend something from this and here is more info on this function, here:

https://sampwiki.blast.hk/wiki/GetVehicleModelInfo

And here are all the types of info you can retrieve with the function:

https://sampwiki.blast.hk/wiki/Vehicle_information_types

I am sure you can mend something from the info i have given you here, good luck!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)