Reading From Y_INI Files
#4

Quote:
Originally Posted by SkillNasr
Посмотреть сообщение
please quote the lines.
I think this is what you mean?

Код:
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;
                    }
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.
Reply


Messages In This Thread
Reading From Y_INI Files - by Skillzz - 29.06.2016, 23:46
Re: Reading From Y_INI Files - by Skillzz - 30.06.2016, 00:13
Re: Reading From Y_INI Files - by SkillNasr - 30.06.2016, 00:33
Re: Reading From Y_INI Files - by Skillzz - 30.06.2016, 00:38
Re: Reading From Y_INI Files - by DTV - 30.06.2016, 01:25
Re: Reading From Y_INI Files - by Skillzz - 30.06.2016, 12:20
Re: Reading From Y_INI Files - by Skillzz - 30.06.2016, 21:06
Re: Reading From Y_INI Files - by Stinged - 30.06.2016, 21:14
Re: Reading From Y_INI Files - by Skillzz - 30.06.2016, 22:09

Forum Jump:


Users browsing this thread: 1 Guest(s)