Spawning a player problem - 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: Spawning a player problem (
/showthread.php?tid=508601)
Spawning a player problem -
DarkLored - 23.04.2014
So i am putting this code in OnPlayerRequestClass and when it spawns me it spawns not in the correct coords and i can't see my character and i am able to move him and i see him on the map whats the problem?
pawn Код:
SetSpawnInfo(playerid,-1,7,-327.1662,1090.9407,19.7422,288.7162,0,0,0,0,0,0);
SpawnPlayer(playerid);
Re: Spawning a player problem -
Fel486 - 23.04.2014
Just put that on OnPlayerConnect
pawn Код:
SetSpawnInfo(playerid,-1,7,-327.1662,1090.9407,19.7422,288.7162,0,0,0,0,0,0);
Do not use it: