Need another help - jail timer
#6

Okay, I now got at the top

forward tkjail(playerid);
new bool:PlayerInPrison[MAX_PLAYERS];

When getting jailed:

PlayerInPrison[playerid] = true;

OnPlayerCommandText:

if (PlayerInPrison[playerid] == 1)
{
return 0;
}

And when released:

public tkjail(playerid)
{
SetPlayerHealth(playerid,0.0);
PlayerInPrison[playerid] = false;
}


But you dont get released! D: Why?
Reply


Messages In This Thread
Need another help - jail timer - by Striker_Moe - 13.09.2009, 15:36
Re: Need another help - jail timer - by Striker_Moe - 13.09.2009, 16:31
Re: Need another help - jail timer - by Striker_Moe - 14.09.2009, 14:40
Re: Need another help - jail timer - by Calgon - 14.09.2009, 14:50
Re: Need another help - jail timer - by Clavius - 14.09.2009, 14:57
Re: Need another help - jail timer - by Striker_Moe - 14.09.2009, 16:57

Forum Jump:


Users browsing this thread: 1 Guest(s)