[Ajuda] FakeChat
#4

O Richard tem razгo, leia a documentaзгo sobre essa funзгo: GetPlayerColor & ColorFix

pawn Код:
CMD:fakechat(playerid,params[])
{
    new ID,string[256];
    if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid,VERMELHO1,"Vocк nгo tem permissгo para isso!");
    if(sscanf(params,"us[256]",ID,string)) return SendClientMessage(playerid,VERMELHO1,"USE: /fakechat [id] [texto]");
    format(string, sizeof(string), "%s: {FFFFFF}(%i): %s ",PlayerName(ID),playerid, string);
    SendClientMessageToAll(GetPlayerColor(ID), string);
    return 1;
}
Reply


Messages In This Thread
FakeChat - by GhosT_[] - 10.09.2012, 19:39
Re: FakeChat - by @Riichard - 10.09.2012, 19:41
Re: FakeChat - by GhosT_[] - 10.09.2012, 19:45
Re: FakeChat - by Douglas_prt - 10.09.2012, 19:57
Re: FakeChat - by GhosT_[] - 10.09.2012, 21:41
Re: FakeChat - by Douglas_prt - 10.09.2012, 21:50

Forum Jump:


Users browsing this thread: 1 Guest(s)