Functions/DarkRP/Shared/getAgendas

From Official DarkRP Wiki
Jump to: navigation, search
Function
Function name DarkRP.getAgendas()
Description:
Get all agendas. Note: teams that share an agenda use the exact same agenda table. E.g. when you change the agenda of the CP, the agenda of the Chief will automatically be updated as well. Make sure this property is maintained when modifying the agenda table. Not maintaining that property will lead to players not seeing the right agenda text.
Returns: table agendas
Part of Library: DarkRP
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/getAgendas]DarkRP.getAgendas[/url][/b]

Function parameters

This function does not take any arguments.

Function return values

  1. agendas (table)
  2. Table in which the keys are team numbers and the values agendas.