27.02.2014, 15:57
Here:
Quote:
} if(GetPVarInt(playerid, "JailTime") > 0) { new rnd = random(sizeof(PrisonSpawn)); SetPlayerPos(playerid, PrisonSpawn[rnd][0], PrisonSpawn[rnd][1], PrisonSpawn[rnd][2]); SetPlayerInterior(playerid, 10); format(string, sizeof(string), "[AUTO JAIL] %s (LEFT SERVER WHILE IN JAIL)",PlayerInfo(playerid)); print(string); SendClientMessageToAll(COLOR_RED, string); SetPVarInt(playerid, "Jailed", 1); } SetTimer("SetPlayerTeamFromNoTeam", 1000*15, 0); return 1; } |