/acmds Problem
#5

Quote:
Originally Posted by RajatPawar
Посмотреть сообщение
Just replace all else-ifs with ifs.
also, i will need that loop?

EDIT: Fixed, thanks to all.

pawn Код:
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");
    if(pInfo[playerid][pAdminLevel] == 2) strcat(str, FWTE_AQUAMARINE"* Admin Level 2 (Trial Moderator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
    if(pInfo[playerid][pAdminLevel] == 3) strcat(str, FWTE_AQUAMARINE"* Admin Level 3 (Trial Moderator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
    if(pInfo[playerid][pAdminLevel] == 4) strcat(str, FWTE_AQUAMARINE"* Admin Level 4 (Trial Moderator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
    if(pInfo[playerid][pAdminLevel] == 5) strcat(str, FWTE_AQUAMARINE"* Admin Level 5 (Trial Moderator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
    if(pInfo[playerid][pAdminLevel] == 6) strcat(str, FWTE_AQUAMARINE"* Admin Level 6 (Trial Moderator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
    if(pInfo[playerid][pAdminLevel] == 7) strcat(str, FWTE_AQUAMARINE"* Admin Level 7 (Trial Moderator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
    if(pInfo[playerid][pAdminLevel] == 8) strcat(str, FWTE_AQUAMARINE"* Admin Level 8 (Trial Moderator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
    if(pInfo[playerid][pAdminLevel] == 9) strcat(str, FWTE_AQUAMARINE"* Admin Level 9 (Trial Moderator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
    if(pInfo[playerid][pAdminLevel] == 10) strcat(str, FWTE_AQUAMARINE"* Admin Level 10 (Trial Moderator): /slap /akill /slay /explode /asay /burn /an(nounce) /spec(off)\n");
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: 1 Guest(s)