SA-MP Forums Archive
[UNSOLVED]SpawnPlayer - 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: [UNSOLVED]SpawnPlayer (/showthread.php?tid=132185)



[UNSOLVED]SpawnPlayer - AiVAMAN - 06.03.2010

How do I SpawnPlayer(playerid); when he is in vehicle?
if using this, when I am in vehicle, everything wents wrong.. if removing player from vehicle (RemovePlayerFromVehicle(playerid)
and then using SpawnPlayer(playerid); it does the same. Any ideas how to spawn player when he is in vehicle correctly? :\


Re: SpawnPlayer - AiVAMAN - 06.03.2010

You mean set a timer, or something?


Re: SpawnPlayer - ¤Adas¤ - 06.03.2010

OnPlayerStateChange


Re: SpawnPlayer - AiVAMAN - 06.03.2010

An example please? )



Re: SpawnPlayer - AiVAMAN - 07.03.2010

Bump.. anyone?


Re: [UNSOLVED]SpawnPlayer - Joe Staff - 07.03.2010

pawn Код:
SetPlayerPos(playerid,0.0,0.0,0.0);
SpawnPlayer(playerid);



Re: [UNSOLVED]SpawnPlayer - AiVAMAN - 07.03.2010

Quote:
Originally Posted by Joe Staff
pawn Код:
SetPlayerPos(playerid,0.0,0.0,0.0);
SpawnPlayer(playerid);
Works! Thank you.