DarkRP:Agendas

From GMod Wiki

Jump to: navigation, search
Deletion.pngThis page has been nominated for deletion. Deletion is due within approximately 30 days from nomination, unless the deletion has been disputed on the talk page. See more pages nominated for deletion here.
Reason for deletion: Not what Garry wants the wiki to be used for
Last Edit was made on 11/16/2011


NOTE: This feature is only available in the DarkRP SVN Revision 580 or later! You can create your own agenda, like the mobboss/gangster agenda, for your own classes as of this revision.

You do this in DarkRP/gamemode/shared.lua, at the bottom of the file, underneath the default agendas.

Here's how you create your own:

 
AddAgenda(Title of the agenda, Manager (who edits it), Listeners (the ones who just see and follow the agenda))
 

Here's an example:

 
AddAgenda("Gangster's agenda", TEAM_MOB, {TEAM_GANG})
 

This will create an agenda that TEAM_MOB can set, with /agenda, and TEAM_GANG can see, the agenda will be titled 'Gangster's agenda'. You can allow more than 1 job to see it by separating them with commas, eg: {TEAM_GANG, TEAM_HOBO}.

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox