Functions/DarkRP/Server/log

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name DarkRP.log(string message, Color colour, boolean noFileSave)
Description:
Log a message in DarkRP
Returns: nil
Part of Library: DarkRP
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/log]DarkRP.log[/url][/b]

Function parameters

  1. message (string)
  2. The message to log

  3. colour (Color) (optional)
  4. The color of the message in the admin's console. Admins won't see the message if this is not defined.

  5. noFileSave (boolean) (optional)
  6. Whether to write the log to a file or not.


Function return values

This function does not return any value.