[Pedido] 2 Comandos
#3

se eu entendi bem voce quer isso

!!
V

pawn Код:
if(strcmp(cmd, "/avdetran", true) == 0 || strcmp(cmd, "/avisardetran", true) == 0)
    {
        strmid(tmp, cmdtext, 4, strlen(cmdtext));
        if(!strlen(tmp))
        {
            SendClientMessage(playerid, 0xFFFFFFFF, "Use: /avdetran [texto]");
            return 1;
        }
        if(IsPlayerConnected(playerid))
        {
            SendClientMessageToAll(-1, "{C7007E}================= {00D0FF}>- {FF0000}Aviso do Detran {00D0FF}-< {C7007E}=================");
            GetPlayerName(playerid, Nome, sizeof(Nome));
            format(string, sizeof(string), "{00A80B}Detran {FF5500}%s: {FFFFFF}%s",Nome,tmp);
            SendClientMessageToAll(0x33CCFFAA, string);
            return 1;
        }
    }
Reply


Messages In This Thread
[Pedido] 2 Comandos - by wallacematheus - 12.10.2011, 18:01
Re: [Pedido] 2 Comandos - by Hardware - 12.10.2011, 18:32
Re: [Pedido] 2 Comandos - by Lipe_Stronda - 12.10.2011, 18:40

Forum Jump:


Users browsing this thread: 2 Guest(s)