SA-MP Forums Archive
How do i make a player be put in a vehicle automatically? - 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: How do i make a player be put in a vehicle automatically? (/showthread.php?tid=119113)



How do i make a player be put in a vehicle automatically? - Sampiscool123 - 06.01.2010

Hey,

how do i make a player be put into a vehcile? for example on spawn how would i make the player be put into an infernus?

Please help me


Re: How do i make a player be put in a vehicle automatically? - Martin_M - 06.01.2010

Код:
new Infernus[MAX_PLAYERS];
OnPlayerSpawn
Код:
Infernus[playerid] = CreateVehicle(...);
PutPlayerInVehicle(playerid,Infernus[playerid],0);



Re: How do i make a player be put in a vehicle automatically? - Sampiscool123 - 06.01.2010

what do i put where you said "(...)"


Re: How do i make a player be put in a vehicle automatically? - adsy - 06.01.2010

https://sampwiki.blast.hk/wiki/CreateVehicle


Re: How do i make a player be put in a vehicle automatically? - Sampiscool123 - 06.01.2010

Thanks i was going to edit my post because i found out how to do it thank you for helping