30.08.2009, 00:01
Sorry for bumping, but it works now the only problem it, it unjails me automaticly every one minute :S.
Код:
public JailTimerPassing(playerid) { new string[256]; new playrname[MAX_PLAYER_NAME]; GetPlayerName(playerid, playrname, sizeof(playrname)); SetPlayerWorldBounds(playerid,20000.0000,-20000.0000,20000.0000,-20000.0000); PlayerData[playerid][Prison] = 0; PlayerData[playerid][PrisonTime] = 0; SetPlayerArmour(playerid, 0); SetPlayerInterior(playerid,0); format(string, sizeof(string), "%s was unjailed automatically (Times Up).", playrname); SendClientMessageToAll(RED, string); SetPlayerPos(playerid,1480.9805,-1770.7013,18.7958); }