Functions/DarkRP/Server/printConsoleMessage

From DarkRP
Jump to navigation Jump to search
Function
Function name DarkRP.printConsoleMessage(Player ply, string msg)
Description:
Prints a message to a given player's console. This function also handles server consoles too (EntIndex = 0).
Returns: nil
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/printConsoleMessage]DarkRP.printConsoleMessage[/url][/b]

Function parameters[edit]

  1. ply (Player)
  2. The player to send the console message to.

  3. msg (string)
  4. The actual message.


Function return values[edit]

This function does not return any value.