SA-MP Forums Archive
I need help with Jail System - 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: I need help with Jail System (/showthread.php?tid=540413)



I need help with Jail System - Lirbo - 04.10.2014

I want to make Jail system, but when the guy who jailed /q while he jailed he'll have to complete the jail time after he'll relog...

I'm using DOF2, someone can help me please?


Re : I need help with Jail System - AmirRFCNR - 04.10.2014

you can make it with y_ini
pawn Code:
//for exampl
public OnPlayerDisconnect(playerid)
{
INI_WriteInt(File,"Jail", PlayerInfo[playerid][IsJailed]);

...
public OnPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][IsJailed] == 1)
    {
     JailTime = true;
    }
}
I gave you just an Ex ,u made it with yourself


Re: I need help with Jail System - Mohamedilham - 05.10.2014

if you got