public OnPlayerText(playerid, text[]) { LINHA 112> SetPlayerChatBubble(playerid,text, Vermelho,50.0,5000); new Float:p[3],string[200],player[MAX_PLAYER_NAME]; GetPlayerName(playerid, player, sizeof(player)); GetPlayerPos(playerid, p[0], p[1], p[2]); format(string, sizeof(string), "{FFFAF0}%s {FFFAF0}: {FFFAF0}%s", player, text); for(new i = 0; i < GetMaxPlayers(); i++) { if(IsPlayerConnected(i) && IsPlayerInRangeOfPoint(i, 25.0, p[0], p[1], p[2])) { SendClientMessage(i, -1, string); } } return false; }
#define Vermelho 0xE01B1BAA
//ou voзe coloca no lugar que esta escrito vermelho 0xE01B1BAA ae nao presiзa do define
pawn Код:
|