Functions/DarkRP/Server/talkToPerson

From DarkRP
Function
Function name DarkRP.talkToPerson(Player receiver, Color col1, string text1, Color col2, string text2, Player sender)
Description:
Send a chat message to a player.
Returns: nil
Part of Library: DarkRP
Realm:
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/talkToPerson]DarkRP.talkToPerson[/url][/b]

Function parameters[edit]

  1. receiver (Player)
  2. The receiver of the message.

  3. col1 (Color)
  4. The color of the first part of the message.

  5. text1 (string)
  6. The first part of the message.

  7. col2 (Color)
  8. The color of the second part of the message.

  9. text2 (string)
  10. The second part of the message.

  11. sender (Player) (optional)
  12. The sender of the message.

Function return values[edit]

This function does not return any value.