Jail Time problem
#2

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);
            }
        }
Reply


Messages In This Thread
Jail Time problem - by Pk93 - 29.07.2013, 02:28
Re: Jail Time problem - by Scottas - 29.07.2013, 07:14
Re: Jail Time problem - by Pk93 - 29.07.2013, 11:29
Re: Jail Time problem - by Scottas - 29.07.2013, 15:26

Forum Jump:


Users browsing this thread: 2 Guest(s)