12.11.2013, 13:02
Hello guys, currently in-need of /admins command, I'm not sure on how to make this, thats why i'm asking for help here!
Alright, so i'm using SSCANF2, and zCmd, here's my enum:
And here's my string adminlevels.
Alright, so i'm using SSCANF2, and zCmd, here's my enum:
HTML Code:
enum PlayerInfo { Logged, miniadmin, Level, Duty, pGD, pTS, pVip, pCop, pAmmo, pGuns, }
HTML Code:
stock aLevel(playerid) { new svString[120]; switch (PInfo[playerid][Level]) { case 1: svString = "Trial Admin"; case 2: svString = "Junior Admin"; case 3: svString = "Low Admin"; case 4: svString = "Admin"; case 5: svString = "High Admin"; case 6: svString = "Experienced Admin"; case 7: svString = "Senior Admin"; case 8: svString = "Top Admin"; case 9: svString = "Lead Admin"; case 10: svString = "Head Admin"; case 11: svString = "Server Owner"; } return svString; }