19.02.2015, 15:34
You should only activate the first if the admin isn't on duty, otherwise it'll activate nomatter what, and then the next wont.
Like this:
Like this:
pawn Код:
if(PInfo[i][Level] >= 1 && PInfo[i][Level] <= 7 && PInfo[i][pAdminDuty] == 0)
else if(PInfo[i][Level] >= 1 && PInfo[i][Level] <= 7 && PInfo[i][pAdminDuty] == 1)