Spawning a player problem
#1

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);
Reply
#2

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:

pawn Код:
SpawnPlayer(playerid);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)