JAIL system
#1

Hey guys! I've made my own Jailsystem here, but I've obviously done something wrong! When a player kills another player, the 'killerid' gets jailed. But they never get unjailed! Only ID 0! no matter if id 0 did the kill or not. How can I fix this?

heres a bit of the code; ofc with forward...

Code:
 public UnJail(playerid, killerid)
{
    isJailed[playerid] = 0;
    isJailed[killerid] = 0;
	SetPlayerPos(killerid,-1898.6420,243.1353,41.0469);
	SendClientMessage(killerid, COLOR_LIGHTRED, ".: You have been released! :.");
    return 1;
}
Reply


Messages In This Thread
JAIL system - by Kudoz - 20.01.2013, 06:11
Re: JAIL system - by Mr_Zlodei - 20.01.2013, 06:25
Re: JAIL system - by Kudoz - 20.01.2013, 06:28
Re: JAIL system - by Threshold - 20.01.2013, 06:29
Re: JAIL system - by Kudoz - 20.01.2013, 06:32
Re: JAIL system - by Mr_Zlodei - 20.01.2013, 06:32
Re: JAIL system - by Kudoz - 20.01.2013, 06:35
Re: JAIL system - by DaRk_RaiN - 20.01.2013, 06:38
Re: JAIL system - by Threshold - 20.01.2013, 06:42
Re: JAIL system - by Mr_Zlodei - 20.01.2013, 06:43
Re: JAIL system - by Kudoz - 20.01.2013, 07:01

Forum Jump:


Users browsing this thread: 3 Guest(s)