[HELP] 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: [HELP] PutPlayerInVehicle (
/showthread.php?tid=356148)
[HELP] PutPlayerInVehicle -
Eiy Mard - 02.07.2012
How can i make ...
Код:
public OnPlayerSpawn(playerid)
{
return 1; //if player spawn .. put player on vehicle ? and random spawn place....
}
Respuesta: [HELP] PutPlayerInVehicle -
[DOG]irinel1996 - 02.07.2012
You mean, put him in a random vehicle?
Take a look here for random spawns:
https://sampwiki.blast.hk/wiki/Random
Re: [HELP] PutPlayerInVehicle -
.FuneraL. - 02.07.2012
Quote:
Originally Posted by Eiy Mard
How can i make ...
Код:
public OnPlayerSpawn(playerid)
{
return 1; //if player spawn .. put player on vehicle ? and random spawn place....
}
|
On Player Spawned, use one variable to create a vehicle using too "CreateVehicle" and use PutPlayerOnVehicle using value 0 to change state player to driver.