13.05.2015, 21:06
If the "id" is 0, then it will return the error message. Also it might not be -1 but a value greater or equal to MAX_FACTIONS so you'd still get run time error 4. I can't think of any better way to do it currently so keep it double check.
pawn Код:
if (!(0 <= id < MAX_FACTIONS) || (0 <= id < MAX_FACTIONS && !Factions[id][factionExiste]))