[Ajuda] Mais caracters no /radio
#5

pawn Код:
CMD:radio(playerid, params[])
{
    if(Player[playerid][qOrganizacao] == CIVIL)
        return SendClientMessage(playerid, COR_BRANCA, "Vocк nгo faz parte de nenhuma org!");
    if(sscanf(params, "s[128]", params[0]))
        return SendClientMessage(playerid, COR_BRANCA, "USE: /radio [MENSAGEM]");

    if(Player[playerid][qOrganizacao] == 1)
    {
        switch(Player[playerid][qCargo])
        {
            case 6: format(String, sizeof(String), "6єLнder %s: %s.", PlayerNick(playerid), params[0]);
            case 5: format(String, sizeof(String), "5єSub-Lнder %s: %s.", PlayerNick(playerid), params[0]);
            case 4: format(String, sizeof(String), "4єGerente %s: %s.", PlayerNick(playerid), params[0]);
            case 3: format(String, sizeof(String), "3єFogueteiro %s: %s.", PlayerNick(playerid), params[0]);
            case 2: format(String, sizeof(String), "2єCampana %s: %s.", PlayerNick(playerid), params[0]);
            case 1: format(String, sizeof(String), "1єAviгozinho %s: %s.", PlayerNick(playerid), params[0]);
        }
        SendFamilyMessage(Player[playerid][qOrganizacao], COR_GROOVE_STREET, String);
    }
    return 1;
}
Reply


Messages In This Thread
Mais caracters no /radio - by PetterAdriano - 05.01.2014, 21:57
Re: Mais caracters no /radio - by darkxdll - 05.01.2014, 22:05
Re: Mais caracters no /radio - by PetterAdriano - 05.01.2014, 22:16
Re: Mais caracters no /radio - by feliphemort - 05.01.2014, 22:59
Re: Mais caracters no /radio - by PT - 06.01.2014, 14:53

Forum Jump:


Users browsing this thread: 2 Guest(s)