SA-MP Forums Archive
Position in car. - 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: Position in car. (/showthread.php?tid=652764)



Position in car. - Manuel_Franco - 18.04.2018

Somebody can help me please??

I need know position of passenger in vehicle.

PutPlayerInVehicle(playa,newcar,1);

Thanks.


Re: Position in car. - RogueDrifter - 19.04.2018

PutPlayerInVehicle(playerid, vehicleid, seatid);

Seat ids:
Код:
0 - Driver
1 - Front passenger
2 - Back-left passenger
3 - Back-right passenger
4+ - Passenger seats (coach etc.)
Source: https://sampwiki.blast.hk/wiki/PutPlayerInVehicle