23.08.2011, 22:21
Modificando o do Shadoww5
pawn Код:
public OnPlayerText(playerid, text[])
{
new sStr[128];
format(sStr, 128, "[ID:%d]: %s", playerid, text);
if(text[0] == ';')
{
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
for(new i, p = GetMaxPlayers(); i < p; i++)
{
if(IsPlayerInRangeOfPoint(i, 9.0, Pos[0], Pos[1], Pos[2])) { SendClientMessage(i, 0xE31919FF, sStr); }
}
return 0;
}
SetPlayerChatBubble(playerid, text, COLOR_WHITE, 80.0, 10000);
SendPlayerMessageToAll(GetPlayerColor(playerid),sStr);
return 0;
}