Register issue
#1

Hey, so im currently having an issue with my script, new players arent able to spawn after registering, it's like they're still in the air spectating. thankful for any help in the right direction. My code

}
SetPlayerToSpawn(playerid)
{
if(GetPlayerState(playerid) == PLAYER_STATE_SPECTATING)
{
SetSpawnInfo(playerid, NO_TEAM, PlayerInfo[playerid][pSkin], 820.5590, -1342.6283, 13.5216, 90.0000, 0, 0, 0, 0, 0, 0);
TogglePlayerSpectating(playerid, false);
Reply
#2

PHP код:
TogglePlayerSpectating(playeridfalse);
SetSpawnInfo(playeridNO_TEAMPlayerInfo[playerid][pSkin], 820.5590, -1342.628313.521690.0000000000);
SpawnPlayer(playerid); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)