Functions/DarkRP/Server/talkToRange

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name DarkRP.talkToRange(Player ply, string playerName, string message, number size)
Description:
Send a chat message to people close to a player.
Returns: nil
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/talkToRange]DarkRP.talkToRange[/url][/b]

Function parameters

  1. ply (Player)
  2. The sender of the message.

  3. playerName (string)
  4. The name of the sender of the message.

  5. message (string)
  6. The actual message.

  7. size (number)
  8. The radius of the circle in which players can see the message in chat.


Function return values

This function does not return any value.