01.08.2013, 07:54
Hey Guys i have this script that i someone leaves the server while in jail it saves that he is when he logs back in and if jail == 1 he is sent to jail and timer starts pleaze have a look and could u guys tell me whats wrong with it i cant find anything...
Код:
public OnPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][Jailed] == 1)
{
SetPlayerPos(playerid, 264.6288,77.5742,1001.0391);
SetPlayerInterior(playerid, 6);
TextDrawShowForPlayer(playerid,CountDownTD);
JailTimer[playerid] = SetTimerEx("CountDown", 1000, true, "i", playerid);
}
return 1;
}


