/acmds Problem
#2

pawn Код:
for(new i = 0; i != pInfo[playerid][pAdminLevel]; ++i)
    {
        if(pInfo[playerid][pAdminLevel] > 1) strcat(str, FWTE_AQUAMARINE"* Admin Level 1 (Trial Moderator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
        else if(pInfo[playerid][pAdminLevel] > 2) strcat(str, FWTE_AQUAMARINE"* Admin Level 2 (Moderator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
        else if(pInfo[playerid][pAdminLevel] > 3) strcat(str, FWTE_AQUAMARINE"* Admin Level 3 (Global Moderator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
        else if(pInfo[playerid][pAdminLevel] > 4) strcat(str, FWTE_AQUAMARINE"* Admin Level 4 (Master Administrator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
        else if(pInfo[playerid][pAdminLevel] > 5) strcat(str, FWTE_AQUAMARINE"* Admin Level 5 (Senior Administrator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
        else if(pInfo[playerid][pAdminLevel] > 6) strcat(str, FWTE_AQUAMARINE"* Admin Level 6 (Lead Administrtaor): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
        else if(pInfo[playerid][pAdminLevel] > 7) strcat(str, FWTE_AQUAMARINE"* Admin Level 7 (Deputy Head Administrator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
        else if(pInfo[playerid][pAdminLevel] > 8) strcat(str, FWTE_AQUAMARINE"* Admin Level 8 (Head Administrator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
        else if(pInfo[playerid][pAdminLevel] > 9) strcat(str, FWTE_AQUAMARINE"* Admin Level 9 (Co-Owner): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
        else if(pInfo[playerid][pAdminLevel] > 10) strcat(str, FWTE_AQUAMARINE"* Admin Level 10 (Founder): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
    }
I dont know if this will fix the problem, but this will fix a small bug that if you're level 3 it will show you commands for level 1 and 2 and doesnt show 3 because you forgot to add or equal.
Reply


Messages In This Thread
/acmds Problem - by iFarbod - 17.06.2014, 08:41
Re: /acmds Problem - by mahdi499 - 17.06.2014, 08:50
Re: /acmds Problem - by RajatPawar - 17.06.2014, 08:51
Re: /acmds Problem - by Konstantinos - 17.06.2014, 08:54
Re: /acmds Problem - by iFarbod - 17.06.2014, 08:56

Forum Jump:


Users browsing this thread: 2 Guest(s)