[Ajuda] /avip
#9

Quote:
Originally Posted by CidadeNovaRP
Посмотреть сообщение
Esqueceu do sscanf *-*
pawn Код:
CMD:avip(playerid, params[])
{
    new Texto[128];
    if(sscanf(params, "s", Texto)) return SendClientMessage(playerid, COR_ERRO, "USE: /avip [MENSAGEM]");
    if(PlayerVip[playerid] <= 0)
    {
        SendClientMessage(playerid, -1, "{FF0000}[Erro]{FFFFFF}Vc Nao й um Player Vip");
    }
    else if(PlayerVip[playerid] == 1)
    {
        SendClientMessageToAll(0x00FF24FF, ":|======Anuncio VIP======|:");
        format(String,sizeof(String),"VIP %s: %s", pNome(playerid), Texto);
        SendClientMessageToAll(AZUL_CLARO, String);
    }
    else if(PlayerVip[playerid] == 2)
    {
        format(String, sizeof(String), "~y~S-Vip %s: ~w~%s", pNome(playerid), Texto);
        GameTextForAll(String, 5000, 4);
    }
    else if(PlayerVip[playerid] == 3)
    {
        format(String, sizeof(String), "~y~Socio %s: ~w~%s", pNome(playerid), Texto);
        GameTextForAll(String, 5000, 4);
    }
    return 1;
}
vlw.....
Reply


Messages In This Thread
[Ajuda] /avip - by Panico622 - 06.05.2012, 14:48
Re: [Ajuda] /avip - by mau.tito - 06.05.2012, 15:02
Re: [Ajuda] /avip - by Panico622 - 06.05.2012, 15:03
Re: [Ajuda] /avip - by mau.tito - 06.05.2012, 15:06
Re: [Ajuda] /avip - by Panico622 - 06.05.2012, 15:10
Re: [Ajuda] /avip - by Panico622 - 06.05.2012, 15:16
Re: [Ajuda] /avip - by Smith. - 06.05.2012, 15:21
Re: [Ajuda] /avip - by CidadeNovaRP - 06.05.2012, 15:22
Re: [Ajuda] /avip - by Panico622 - 06.05.2012, 15:54
Re: [Ajuda] /avip - by CidadeNovaRP - 06.05.2012, 15:58

Forum Jump:


Users browsing this thread: 1 Guest(s)