Hooks/Server/canSeeLogMessage

From Official DarkRP Wiki
Jump to: navigation, search
Hook
Hook name canSeeLogMessage(Player ply, string message, Color color)
Description:
Whether a player can see a DarkRP log message in the console.
Returns: boolean canHear
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/canSeeLogMessage]canSeeLogMessage hook[/url][/b]

Parameters

  1. ply (Player)
  2. The player.

  3. message (string)
  4. The log message.

  5. color (Color)
  6. The color of the message.

Return values

  1. canHear (boolean)
  2. Whether the player can see the log message.