#1

Something about this is crashing my server:

pawn Код:
if(PI[playerid][Spawn] == SPAWN_AERO)
    {
        SetSpawnInfo(playerid, 0, PI[playerid][Skin], 1642.0083, -2333.7332, 13.5469, 359.6582, 0, 0, 0, 0, 0, 0);
    }
    else if(PI[playerid][Spawn] == SPAWN_KOLODVOR)
    {
        SetSpawnInfo(playerid, 0, PI[playerid][Skin], 1724.6261, -1911.9575, 13.5642, 93.2842, 0, 0, 0, 0, 0, 0);
    }
   
    SpawnPlayer(playerid);
Reply
#2

Anyone ?
Reply
#3

Remove this, it not needed:
Код:
SpawnPlayer(playerid);
SetSpawnInfo already spawns the player.
Reply
#4

No it does not, it gives me these << >>
Reply
#5

most likely this cause it to crash PI[playerid][Skin] as you set some invalid skin id and spawn player
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)