14.08.2010, 09:13
I dont understand your post completely, but do you want to do something like this?
Code:
if (!strcmp("/admin", cmdtext)) { if (AdminLvl[playerid]) { AdminLvl[playerid] = 0; SendClientMessage(playerid, 0xFFFFFFFF, "You are not an admin anymore"); } else { AdminLvl[playerid] = 1; SendClientMessage(playerid, 0xFFFFFFFF, "You are an admin now"); } return 1; }