27.12.2013, 02:02
pawn Код:
#include <a_samp>
#define Color 0x0000FFFF
public OnPlayerText(playerid, text[])
{
new string[144];
new ChatRango[MAX_PLAYER_NAME];
GetPlayerName(playerid,ChatRango, sizeof(ChatRango));
if(GetPlayerScore(playerid) >= 500)
{
format(string, sizeof(string),"{FF0000}[%d] {%06x}%s {E18A17}[NUEVO]:{FFFFFF} %s",playerid, GetPlayerColor(playerid) >>> 8, ChatRango, text);
SendClientMessageToAll(GetPlayerColor(playerid), string);
SetPlayerChatBubble(playerid, text, 0xFFFF00AA, 100.0, 10000);
return 0;
}
return 1;
}