1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

v 2.5.x How to make agendas

Discussion in 'Tutorials' started by Ric, Dec 11, 2015.

  1. Ric

    Ric Member

    Hello everyone today I will be teaching you how to make DarkRP Agendas.

    Prerequisites -
    Text Editor - Notepad, Notepad++ or Sublime Text 3/2
    A brain - To not fuck up.
    DarkRP Modification!

    Lets get into it.

    Start of with opening garrysmod\addons\darkrpmodification-master\lua\darkrp_customthings
    then open agendas.lua now begin editing underneath the line.

    Code (Text):

    -- Begin with this

    DarkRP.createAgenda(" ", {}, {                            })

    -- The first "", is for the AGENDA NAME! so lets say the name is MingeRP so it would look like this

    DarkRP.createAgenda("MingeRP", {}, {                            })  -- Stage 1

    -- Upon completeing that you should see two brakets with a comma at the end. Thats the TEAM_ that can
     edit the agenda to put words onto it. Here's an example

    DarkRP.createAgenda("MingeRP", {TEAM_CHIEF}, {                            })  -- Stage 2

    -- Upon completion of that task your text should look like stage 2. ^

    Now after there should be a bracket and and a closing bracket. In between that place the teams you want to view it. Your agenda should look like this after you coded it

    DarkRP.createAgenda("MingeRP", {TEAM_CHIEF}, {TEAM_POLICE, TEAM_SWAT, TEAM_MAYOR                    })

    -- Put commas after multiple teams.
    -- Delete all the text with -- Infront of it as of its useless. Unless you want a guide.


Share This Page