[Pedido] Cmd adm
#1

galera, eu queria transformar isso daqui:

pawn Код:
if(strcmp(cmd, "/ahjuda", true) == 0 || strcmp(cmd, "/ah", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            SendClientMessage(playerid, COLOR_DBLUE,"~ Believe RP Life Roleplay ~");
            if (PlayerInfo[playerid][pAdmin] >= 1)
            {
                SendClientMessage(playerid, COLOR_LIGHTBLUE, "[Level 1] /mascara /dirigircarro /profs /spawn /trazer /prender /mutar /kick  /bofetada /dn /up /lt /fly");
                SendClientMessage(playerid, COLOR_LIGHTBLUE, "[Level 1] /afk /emp /fixveh  /rt /espiar /checararmas /pararespiar /irls /irlv /irsf /ir /cv /a /mp");
                SendClientMessage(playerid, COLOR_LIGHTBLUE, "[Level 1] /lprocurado /emp /cabanamoto /irhotel /rodas /pjveh /corveh /suspenar /rnos /rsuspenar /infoxiter");
            }
            if (PlayerInfo[playerid][pAdmin] >= 2)
            {
                SendClientMessage(playerid, COLOR_OOC,"[Level 2] /darcolete /darvida /skydive /ouvirtodos /congelar /abastercertodos");
                SendClientMessage(playerid, COLOR_OOC,"[Level 2] /daremprego  /pegarip /avisados /pstats /tirararmas /descongelar");
            }
            if (PlayerInfo[playerid][pAdmin] >= 3)
            {
                SendClientMessage(playerid, COLOR_YELLOW,"[Level 3] /sban /aviso /ao /tempo  /mark /irmark /pegarcarro /dararma /eequipar");
                SendClientMessage(playerid, COLOR_YELLOW,"[Level 3] /bangu /ban /irkick /irblood /irtrack /irvice /irderby /irrc /irin /irin2 /irmar /irjet");
                SendClientMessage(playerid, COLOR_YELLOW,"[Level 3] /v /veh /sairhosp /tunados /entercar /ircar /irchiliad /irstad /ir /trazer");
            }
            if (PlayerInfo[playerid][pAdmin] >= 4)
            {
                SendClientMessage(playerid, COLOR_YELLOW2,"[Level 4] /spawncar /tiraraviso /tirarprof /ativarsms /tiraremprego /fourdive  /hq /logout /logoutpl /logoutall ");
                SendClientMessage(playerid, COLOR_YELLOW2,"[Level 4] /dardrogas /darmateriais /forceskin /setfamily /mudarcarrocasa /fixveh /setchamp /explodir");
            }
            if (PlayerInfo[playerid][pAdmin] >= 5)
            {
                SendClientMessage(playerid, BLUE,"[Level 5] /spawncar2 /addenthouse /addentbiz /addentsbiz /asellhouse /asellbiz /house /houseo /addentradasbiz /biz /sbiz /edit /editar");
            }
            if (PlayerInfo[playerid][pAdmin] >= 3000)
            {
                SendClientMessage(playerid, COLOR_RED,"[Level 3000] /delveh /darlider /carroalugado /iniciarloteria /desbanirip");
                SendClientMessage(playerid, COLOR_RED,"[Level 3000] /resetarcarroscasa /pergunta /encerrarpergunta /enquete /horajogo /resetarconta /licenciar /daradminirc");
            }
            if (PlayerInfo[playerid][pAdmin] >= 4000)
            {
                SendClientMessage(playerid, COLOR_GREEN,"[Level 4000] /gmx /mudarnome /ativarmp /ativarcw /sairhosp /skick /sban /setstat /dolar  /resetarcarros");
            }
            if (PlayerInfo[playerid][pAdmin] == 5000)
            {
                SendClientMessage(playerid, COLOR_LIGHTRED,"[Level 5000] /resetarconta /tirarvip /darvipinho /darvipmaster /darvip /darvipmaster /dardinheiro /dinheiro");
                SendClientMessage(playerid, COLOR_LIGHTRED,"[Level 5000] /balloons /mask");
            }
            SendClientMessage(playerid, COLOR_DBLUE,"~ Believe RP ~");
                }
        return 1;
    }
Em dialog:


Oque devo fazer?
Reply


Messages In This Thread
[Pedido] Cmd adm - by Felipe_Wesker - 25.03.2012, 23:34
Re: [Pedido] Cmd adm - by @Riichard - 26.03.2012, 01:19
Re: [Pedido] Cmd adm - by histire - 26.03.2012, 01:22
Re: [Pedido] Cmd adm - by MatheusAlcapone - 26.03.2012, 03:18
Re: [Pedido] Cmd adm - by Felipe_Wesker - 26.03.2012, 15:50
Re: [Pedido] Cmd adm - by zbt - 26.03.2012, 15:53
Re: [Pedido] Cmd adm - by Felipe_Wesker - 26.03.2012, 16:11

Forum Jump:


Users browsing this thread: 1 Guest(s)