[Ajuda] /r
#14

Olha aн programador, vai cobrar quanto por esse comando? kkkkk

pawn Code:
CMD:r(playerid, params[])
{
    if(Profissao[playerid] == 2 || Profissao[playerid] == 1 || Profissao[playerid] == 13 || Profissao[playerid] == 14 || Profissao[playerid] == 7 || Profissao[playerid] == 8)
    {
        new texto[128], Don[128];
        if(sscanf(params, "s[128]", texto)) return SendClientMessage(playerid, -1,"{FF00FF}[PDE | COP]{FFFFFF} Use: /r [TEXTO]");
        switch(Profissao[playerid])
        {
            case 1 .. 2:format(Don, sizeof Don, "{00FFFF}[Chat Policia Militar] %s diz: %s", GetPlayerNameEx(playerid), texto);
            case 13 .. 14:format(Don, sizeof Don, "{2E8B57}[Chat Exercito] %s diz: %s", GetPlayerNameEx(playerid), texto);
            {
                for (new i; i < MAX_PLAYERS; i++)
                {
                    if(Profissao[i] == 2 || Profissao[i] == 1 || Profissao[i] == 13 || Profissao[i] == 14 || Profissao[i] == 7 || Profissao[i] == 8)
                    {
                        SendClientMessage(i, -1, Don);
                    }
                }
            }
        }
    }
    else SendClientMessage(playerid, 0xFF0000AA, "{E32636}[PDE | INFO]{FFFFFF}  Voce Nao E De Nenhuma ORG.");
    return true;
}
Reply


Messages In This Thread
/r - by hurubuh - 13.04.2019, 18:24
Re: /r - by DarthVeider - 13.04.2019, 20:00
Re: /r - by MultiKill - 13.04.2019, 20:09
Re: /r - by Don_Speed - 13.04.2019, 22:46
Re: /r - by FerrariL - 13.04.2019, 23:49
Re: /r - by DarthVeider - 14.04.2019, 01:35
Re: /r - by hurubuh - 14.04.2019, 15:18
Re: /r - by FerrariL - 14.04.2019, 15:50
Re: /r - by hurubuh - 14.04.2019, 15:58
Re: /r - by FerrariL - 14.04.2019, 16:13
Re: /r - by Psicotico - 14.04.2019, 17:21
Re: /r - by hurubuh - 15.04.2019, 21:15
Re: /r - by ipsLuan - 15.04.2019, 21:31
Re: /r - by DarthVeider - 15.04.2019, 23:10
Re: /r - by Don_Speed - 15.04.2019, 23:11
Re: /r - by DarthVeider - 15.04.2019, 23:18
Re: /r - by hurubuh - 16.04.2019, 16:01

Forum Jump:


Users browsing this thread: 1 Guest(s)