30.06.2016, 00:38
I think this is what you mean?
I'm not finding the admin levels and printing them to the client.
For Example:
Admin Level 1 = Case 1 = Beta Tester
Admin Level 2 = Case 2 = Moderator
Hope you understand where I'm going with this. I created this with a different user system before but I was told to change to Y_INI instead.
Код:
if(IsPlayerConnected(i)) { new sendername[MAX_PLAYER_NAME]; switch(PlayerInfo[i][pAdminLevel]) case 1: format(admtext, 64, "{10F441}Beta Tester"); case 2: format(admtext, 64, "{10F441}Moderator"); case 3: format(admtext, 64, "{33AA33}Administrator"); case 4: format(admtext, 64, "{FF0000}Senior Administrator"); case 1337: format(admtext, 64, "{FF0000}Head Administrator"); default: continue; }
For Example:
Admin Level 1 = Case 1 = Beta Tester
Admin Level 2 = Case 2 = Moderator
Hope you understand where I'm going with this. I created this with a different user system before but I was told to change to Y_INI instead.