From Official DarkRP Wiki
Jump to navigation Jump to search
Hook name agendaUpdated(Player ply, table agenda, string text)
When the agenda is updated.
Returns: string text
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/agendaUpdated]agendaUpdated hook[/url][/b]


  1. ply (Player)
  2. The player who changed the agenda. Warning: can be nil!

  3. agenda (table)
  4. Agenda table (also holds the previous text).

  5. text (string)
  6. The text the player wants to set the agenda to.

Return values

  1. text (string)
  2. An override for the text.