Functions/DarkRP/Server/log
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: |
![]() |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Server/log]DarkRP.log[/url][/b] |
Function parameters[edit]
- message (string)
- colour (Color) (optional)
- noFileSave (boolean) (optional)
The message to log
The color of the message in the admin's console. Admins won't see the message if this is not defined.
Whether to write the log to a file or not.
Function return values[edit]
This function does not return any value.