I am trying to edit a script i do not understand at all so sorry if this sounds completely weird. I am trying to change the config a bit in this addon called “DarkRP Economy 2”. Currently in the config, to place a team in a certain variable, you must put the “Team String” as in “Citizen” instead of “TEAM_CITIZEN”. The code behind the config looks like this.
table.HasValue(Config.NoRobbingJobs, team.GetName(activator:Team())
and the config looks like this
Config.NoRobbingJobs = { "Pet", "Police", "Citizen" }
I would like for the config to look like this
Config.NoRobbingJobs = { TEAM_PET, TEAM_POLICE, TEAM_CITIZEN }
or
Config.NoRobbingJobs = { "TEAM_PET", "TEAM_POLICE", "TEAM_CITIZEN" }
How would i edit tablevalue to do this?
Thank you in advance anyone attempting to help!