warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
LimitGlobalChatRadius
Description
Set a radius limitation for the chat. Only players at a certain distance from the player will see their message in the chat. Also changes the distance at which a player can see other players on the map at the same distance.
Name | Description |
---|---|
Float:chatRadius | The range in which players will be able to see chat. |
Returns
This function does not return any specific values.
Examples
public OnGameModeInit()
{
LimitGlobalChatRadius(200.0);
return 1;
}
Related Functions
- SetNameTagDrawDistance: Set the distance from where people can see other player's nametags.
- SendPlayerMessageToPlayer: Force a player to send text for one player.
- SendPlayerMessageToAll: Force a player to send text for all players.
Related Callbacks
- OnPlayerText: Called when a player sends a message via the chat.