Surfing on a boat - 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: Surfing on a boat (
/showthread.php?tid=319988)
Surfing on a boat -
Marricio - 21.02.2012
well i need to check if a player is on(surfing) a boat, i cant use GetPlayerSurfingVehicleID since wont work since i need a driver.. i'm making a fish system and i wanna check if a player is on a boat and continue, there is a way? thanks and please guys.
Re: Surfing on a boat -
milanosie - 21.02.2012
1: loop trough all vehicles with the model ID of a boat.
2: Check if the player is near any of those boats
Will kinda work
Dit forum vereist dat je 120 seconden wacht tussen het verzenden van berichten. Probeer het nogmaals over 35 seconden.
Re: Surfing on a boat -
Marricio - 21.02.2012
^That's what i tried, but didn't work, i got a fix for this, thanks anyway.