Functions/DarkRP/Server/printConsoleMessage

From Official DarkRP Wiki
Revision as of 14:17, 31 October 2015 by DarkRPBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

  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.