Quote:
Originally Posted by mau.tito
Boiei LoL
@edit poste cmd inteiro
|
pawn Код:
CMD:avip(playerid, params[])
{
new Texto[128];
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)
{
if(sscanf(params, "s", Texto)) return SendClientMessage(playerid, COR_CINZA, "Use /avip [texto]");
format(String, sizeof(String), "~y~S-Vip %s: ~w~%s", pNome(playerid), Texto);
GameTextForAll(String, 5000, 4);
}
else if(PlayerVip[playerid] == 3)
{
if(sscanf(params, "s", Texto)) return SendClientMessage(playerid, COR_CINZA, "Use /avip [texto]");
format(String, sizeof(String), "~y~Socio %s: ~w~%s", pNome(playerid), Texto);
GameTextForAll(String, 5000, 4);
}
return 1;
}