04.01.2018, 16:35
you can use another array something like errstate[MAX_PLAYERS] and use this array to store the message id
and use some other value to represent "free of restriction" something like -1 or -2
and do this
Код:
when InDM[playerid] becomes 1 set errstate[playerid] -> 12
and do this
PHP код:
if (errstate[playerid] != -1)
{
return ErrorMessages(playerid, errstate[playerid]);
}