Okay so I’m about to make a Darkrp server, but I made a class and I want it be able to set warrants as well as the mayor (Accept Warrant) So I went in to main.lua and went to the set warrant part. I added my team that I wanted.
What I added:
if t == TEAM_MAYOR or t == TEAM_PRESIDENT then
if t == TEAM_MAYOR then
Is this right because I think it is causing my single player DarkRP to not work. As in not work I mean there are no jobs at all. Everything else is fine.
Line 509 in Notepad++