09.08.2013, 13:42
I'm starting to make admin system but can anyone give me an idea about command for level 1-5?
Thank you for read this.
Thank you for read this.
if (IsPlayerLuxAdm(playerid)) |
if(strcmp(cmd, "/godon", true) == 0) { if(IsPlayerLuxAdmin(playerid,1)) { //Function Here } else SendClientMessage(playerid, COLOR_WHITE, "ERROR: You are not Adminstrator level 1"); SetPlayerHealth(playerid, 9999999999); return 1; } |
if(strcmp(cmd, "/godoff", true) == 0) { if(IsPlayerLuxAdmin(playerid,1)) { //Function Here } else SendClientMessage(playerid, COLOR_WHITE, "ERROR: You are not Adminstrator level 1"); SetPlayerHealth(playerid, 100); return 1; } |