29.07.2013, 07:14
pawn Код:
//Checking jail time 2
if(PlayerInfo[i][pJailTime2] > 0)
{
if(PlayerInfo[i][pJailed] == 2 || PlayerInfo[i][pJailed] == 3)
{
PlayerInfo[i][pJailTime2]--;
}
}
else if(PlayerInfo[i][pJailTime2] == 0)
{
if(PlayerInfo[i][pJailed] == 2 || PlayerInfo[i][pJailed] == 3)
{
PlayerInfo[i][pJailTime2] = 0;
PlayerInfo[i][pJailed] = 0;
SetPlayerSpawn(i);
SetInterior(i, 0);
GameTextForPlayer(i,"~g~Freedom~n~~w~Try to be a better citizen",5000,1);
}
}