Hooks/Server/PostPlayerSay

From Official DarkRP Wiki
Jump to: navigation, search
Hook
Hook name PostPlayerSay(Player ply, string text, boolean teamonly, boolean dead)
Description:
Called after a player has said something.
Returns: nil
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/PostPlayerSay]PostPlayerSay hook[/url][/b]

Parameters

  1. ply (Player)
  2. The player who spoke.

  3. text (string)
  4. The thing they said.

  5. teamonly (boolean)
  6. Whether they said it to their team only.

  7. dead (boolean)
  8. Whether they are dead.

Return values

This hook does not accept return values. You can still return a value to override the default implementation of this hook.