LimitGlobalChatRadius

From SA-MP Wiki

Jump to: navigation, search


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.


Parameters:
(Float:chat_radius)
Float:chat_radiusThe range in which players will be able to see chat.


Return Values:

This function does not return any specific values.


Example Usage:

public OnGameModeInit()
{
    LimitGlobalChatRadius(200.0);
    return 1;
}

Related Functions

The following functions may be useful, as they are related to this function in one way or another.


Related Callbacks

The following callbacks might be useful, as they're related to this function in one way or another.

  • OnPlayerText: Called when a player sends a message via the chat.
Personal tools