SetPlayerChatBubble
From SA-MP Wiki
SetPlayerChatBubble
Warning: This function was added in SA-MP version 0.3. It is not available in previous versions.
Creates a chat bubble above a player's name tag.
.
Parameters:(playerid, text[], color, Float:drawdistance, expiretime)
| playerid | The player which should have the chat bubble. |
| text[] | The text to display. |
| color | The text color |
| drawdistance | The distance from where players are able to see the chat bubble. |
| expiretime | The time in miliseconds the bubble should be displayed for. |
This function does not return a specific value.
Example:
public OnPlayerText(playerid, text[]) { SetPlayerChatBubble(playerid, text, 0xFF0000FF, 100.0, 10000); return 1; }
