05.05.2012, 13:59
i think it would be better if you create a variable for that, like this:
your command for jail or wutever:
in your onplayercommandperformed callback(if you have it in a jail command, else tell me how you have it:
that should do it i think
EDIT: lool when i started writing this there wasnt reply, anyways i see you got more help
pawn Код:
new IsInJail[MAX_PLAYERS];
pawn Код:
IsInJail[playerid] = 1;
pawn Код:
if(IsInJail[playerid] == 1)
{
SendClientMessage(playerid, 0xFF0000FF, "ERROR: you cant teleport when your in jail!");
}
EDIT: lool when i started writing this there wasnt reply, anyways i see you got more help
