Players sometimes crash on SPAWN. -
pawn Код:
SetPlayerVirtualWorld(playerid, LastVW[playerid]);
SetPlayerInterior(playerid, LastInt[playerid]);
SetSpawnInfo(playerid, 0, skin, LastX[playerid], LastY[playerid], LastZ[playerid]+0.5,0, 0,0,0,0,0,0);
SpawnPlayer(playerid);
SetCameraBehindPlayer(playerid);
SpawnTimer[playerid] = SetTimerEx("SpawnTime", 2500, 0, "i", playerid);
SendClientMessage(playerid, COLOUR_RED, "You have been returned to your previous position.");
Basically, this sometimes crashes players when they try and spawn and I have to /ajail them to stop this bug to happen.