Vehicle - 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: Vehicle (
/showthread.php?tid=308108)
Vehicle -
NewbBeginner - 02.01.2012
Hey.
I want such kind cmd like it puts player into the closest vehicle.
I have already a function GetClosestVehicle, but how will I put the player into that vehicle ?
Thanks for responding.
Re: Vehicle -
Stigg - 02.01.2012
https://sampwiki.blast.hk/wiki/PutPlayerInVehicle
Re: Vehicle -
silvan - 02.01.2012
use the function PutPlayerInVehicle(playerid,0);
that will put him in driver seat.