17.01.2010, 12:41
One way
OntheTop
OnPlayerConnect
When you jail him
And under kill command
Dont forget to set value 0 if he is released!
OntheTop
Код:
new jailed[MAX_PLAYERS];
Код:
jailed[playerid] == 0;
Код:
jailed[playerid] = 1;
Код:
if (jailed[playerid] == 1) return SendClientMessage(playerid, COLOR_GREY, "You can't kill yourself in prison");