Functions/DarkRP/Server/printConsoleMessage

From Official DarkRP Wiki
Jump to: navigation, 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

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

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


Function return values

This function does not return any value.