GetPlayerSurfingVehicle - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: GetPlayerSurfingVehicle (
/showthread.php?tid=102903)
GetPlayerSurfingVehicle -
UsaBoy91 - 17.10.2009
GetPlayerSurfingVehicle doesn't works if a player is not in a car which you want to 'surf' it , why?
Re: GetPlayerSurfingVehicle -
MenaceX^ - 17.10.2009
It returns a value when a player is surfing on a vehicle.. Nothing else than this.
Re: GetPlayerSurfingVehicle -
UsaBoy91 - 18.10.2009
check this out
http://files.uploadffs.com/9/d0ee9985/samp000.png
http://files.uploadffs.com/5/c9d857a8/samp002.png
Re: GetPlayerSurfingVehicle -
Karlip - 18.10.2009
He means, that it will only return a value when there's a driver.
Re: GetPlayerSurfingVehicle -
Beaver07 - 18.10.2009
it was bug tested with a player driving it still returns the value 65535 there was a post about this already..
Re: GetPlayerSurfingVehicle -
Kurence - 18.10.2009
But why to set player surfing on empty car
Re: GetPlayerSurfingVehicle -
Beaver07 - 18.10.2009
Quote:
Originally Posted by Kurence
But why to set player surfing on empty car 
|
you don't set a player to surf on a car you get the vehicle's id that they are standing on
quite a useful callback if it worked
Re: GetPlayerSurfingVehicle -
ese-joseliyo - 18.10.2009
Simply: it only works if someone is driving the vehicle (NPC / Player)
and you leave the ID of the vehicle in which these Surfing