SA-MP Forums Archive
GetPlayerSurfingVehicleID - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: GetPlayerSurfingVehicleID (/showthread.php?tid=500367)



GetPlayerSurfingVehicleID - Onfroi - 12.03.2014

Hello, I'm trying to get back to scripting, and I want to know what does this function really does. The samp wiki doesn't explain much, what does it mean by surfing? If anyone could explain better or show me a better example than the wiki does, I will reward with rep

Thanks in advance.


Re: GetPlayerSurfingVehicleID - Chrillzen - 12.03.2014

The vehicle ID of the vehicle that the player is standing on.


Re: GetPlayerSurfingVehicleID - Onfroi - 12.03.2014

Quote:
Originally Posted by Chrillzen
Посмотреть сообщение
The vehicle ID of the vehicle that the player is standing on.
That the player is in? So is it the same as GetPlayerVehicleID?


Re: GetPlayerSurfingVehicleID - xo - 12.03.2014

No there is a difference. You stand on a vehicle means jump on it, GetPlayerVehicleID gets the vehicle id the player in ( being a driver or in passenger seat. )


Re: GetPlayerSurfingVehicleID - Onfroi - 12.03.2014

Quote:
Originally Posted by XO
Посмотреть сообщение
No there is a difference. You stand on a vehicle means jump on it, GetPlayerVehicleID gets the vehicle id the player in ( being a driver or in passenger seat. )
Alright, I get it now. Thanks both of you