[Pedido] Ajuda com comando...
#4

Mano eu fiz, sу que ele ta setando a skin da rota...
Olha:

pawn Код:
CMD:entregarbracal(playerid, params[])
{
    if(CSMBR[playerid] == ROCAM || CSMBR[playerid] == ROTA || CSMBR[playerid] == ForcaTatica)
    {
    new PTiD, adm[MAX_PLAYER_NAME],player[MAX_PLAYER_NAME],motivo[200],string[1000];
    GetPlayerName(playerid, adm, sizeof(adm));
    GetPlayerName(PTiD, player, sizeof(player));
    if(sscanf(params, "us[128]", PTiD,motivo)) return SCM(playerid, -1, "Uso: /entregarbracal [ID] [Guarniзгo]");
    PlayerPlaySound(playerid, 1130, 0.0, 0.0, 10.0);
    if(!IsPlayerConnected(PTiD)) return false;
    if(!strcmp(string, "FT", true))
    {
        SetPlayerSkin(PTiD, 286);
        format(string, sizeof(string), "%s Entregrou o bracal da %s para o %s", adm, motivo, player);
        ProxDetector(30.0, playerid, string, 0xC4C4C4FF,0xC4C4C4FF,0xC4C4C4FF,0xC4C4C4FF,0xC4C4C4FF);
        return true;
    }
    if(!strcmp(string, "Forзa Tatica", true))
    {
        SetPlayerSkin(PTiD, 286);
        format(string, sizeof(string), "%s Entregrou o bracal da %s para o %s", adm, motivo, player);
        ProxDetector(30.0, playerid, string, 0xC4C4C4FF,0xC4C4C4FF,0xC4C4C4FF,0xC4C4C4FF,0xC4C4C4FF);
        return true;
    }
    if(!strcmp(string, "Forca Tatica", true))
    {
        SetPlayerSkin(PTiD, 286);
        format(string, sizeof(string), "%s Entregrou o bracal da %s para o %s", adm, motivo, player);
        ProxDetector(30.0, playerid, string, 0xC4C4C4FF,0xC4C4C4FF,0xC4C4C4FF,0xC4C4C4FF,0xC4C4C4FF);
        return true;
    }
    if(!strcmp(string, "ROCAM", true))
    {
        SetPlayerSkin(PTiD, 265);
        format(string, sizeof(string), "%s Entregrou o bracal da %s para o %s", adm, motivo, player);
        ProxDetector(30.0, playerid, string, 0xC4C4C4FF,0xC4C4C4FF,0xC4C4C4FF,0xC4C4C4FF,0xC4C4C4FF);
        return true;
    }
    if(!strcmp(string, "ROTA", true))
    {
        SetPlayerSkin(PTiD, 280);
        format(string, sizeof(string), "%s Entregrou o bracal da %s para o %s", adm, motivo, player);
        ProxDetector(30.0, playerid, string, 0xC4C4C4FF,0xC4C4C4FF,0xC4C4C4FF,0xC4C4C4FF,0xC4C4C4FF);
        return true;
    }
    ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
    }
    else
    {
    SCM(playerid, 0xAA3333AA, "Vocк nгo й policial.!");
    }
    return 1;
}
'
Reply


Messages In This Thread
Ajuda com comando... - by davi54723 - 13.02.2014, 21:17
Re: Ajuda com comando... - by Axll - 13.02.2014, 21:23
Re: Ajuda com comando... - by davi54723 - 13.02.2014, 21:28
Re: Ajuda com comando... - by davi54723 - 13.02.2014, 21:40
Re: Ajuda com comando... - by Axll - 13.02.2014, 21:41
Re: Ajuda com comando... - by davi54723 - 13.02.2014, 21:47
Re: Ajuda com comando... - by Axll - 13.02.2014, 21:51
Re: Ajuda com comando... - by davi54723 - 13.02.2014, 22:06
Re: Ajuda com comando... - by Axll - 13.02.2014, 22:08
Re: Ajuda com comando... - by davi54723 - 13.02.2014, 23:39

Forum Jump:


Users browsing this thread: 1 Guest(s)