PutPlayerInVehicle - 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: PutPlayerInVehicle (
/showthread.php?tid=609737)
PutPlayerInVehicle -
ScIrUsna - 16.06.2016
Hi,
I set player world where is vehicle world can i putplayerinvehicle instantly or i need to set a little timer?
Re: PutPlayerInVehicle -
nmader - 16.06.2016
Well, if you want to put them in the vehicle just use this:'
pawn Code:
SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), 10);
SetPlayerVirtualWorld(playerid, 10);
Replace the 10s with whatever virtual world you desire. Then you can put them in the vehicle right after that function.
Re: PutPlayerInVehicle -
Nin9r - 16.06.2016
Are you using a /goto command or what?
Use PutPlayerInVehicle(playerid, yourcarID);