Functions/DarkRP/Shared/getAgendas

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 parametersEdit

This function does not take any arguments.

Function return valuesEdit

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