SA-MP Forums Archive
Jail Time problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Jail Time problem (/showthread.php?tid=454470)



Jail Time problem - Pk93 - 29.07.2013

Solved!

By: Scottas



Reward for helping
*Rep++
*10 Euro to paypal
*How can you trust me ? ask my Last scripters (Black Wolf)(Sandiel)



Re: Jail Time problem - Scottas - 29.07.2013

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



Re: Jail Time problem - Pk93 - 29.07.2013

Thanks alot man pm me and we can fix the transfer of the money!


Re: Jail Time problem - Scottas - 29.07.2013

keep your money