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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: GetPlayerSurfingVehicleID() (
/showthread.php?tid=235704)
GetPlayerSurfingVehicleID() -
sabretur - 06.03.2011
Hi, what do this function? SA-MP Wiki doesn't help. Show me several examples, please.
https://sampwiki.blast.hk/wiki/GetPlayerSurfingVehicleID
Re: GetPlayerSurfingVehicleID() -
Antonio [G-RP] - 06.03.2011
pawn Код:
new veh = GetPlayerSurfingVehicleID(playerid);
new string[32];
format(string, sizeof(string), "You are surfing vehicle ID %d", veh);
SendClientMessage(playerid, -1, string);
Re: GetPlayerSurfingVehicleID() -
Calgon - 06.03.2011
A player car surfs when they are on top of a vehicle, that function gets the vehicle ID that the player is surfing on.
Re: GetPlayerSurfingVehicleID() -
sabretur - 06.03.2011
Can you give me some examples to show me where can I use this function?