About spawning a man. - 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: About spawning a man. (
/showthread.php?tid=260573)
About spawning a man. -
lawonama - 09.06.2011
How do i, when someone enters the server he will spawn in a car.
Not like an existing car, but when he enters a car will be created and he will spawn inside the car at location : X,Y,Z etc... How to?
Re: About spawning a man. -
*IsBack - 09.06.2011
put this on OnPlayerConnect(...) callback:
pawn Код:
{
new veh;
veh = CreateVehicle(/*you put stuff in here*/);
PutPlayerInVehicle(playerid,veh,0);
SetCameraBehindPlayer(playerid);
}
Re: About spawning a man. -
lawonama - 09.06.2011
Thanks