• [DarkRP] Warrant problem
    3 replies, posted
After copying Mayor, Cop, Chief jobs to jobs.lua in darkrpmodification warrant will stop working, i disabled them in default_disabled
Then dont copy them but instead recreat them? Really dont see the problem here. Also no tags in the title. Does no one read rules?
Im not supposed to edit core files, thats the problem. Whats the diffrence between copying CP and recreating it?
DarkRP for a test, i have added perfectly working custom job, after just adding new team in this table, it breaks whole script, most jobs r gone. [ERROR] A runtime error has occurred in "addons/darkrpmodification/lua/darkrp_customthings/jobs.lua" on line 33. The best help I can give you is this: A table is being indexed by something that does not exist (table index is nil). Hints: - The thing between square brackets does not exist (is nil). The responsibility for the error above lies with (the authors of) one (or more) of these files: 1. addons/darkrpmodification/lua/darkrp_customthings/jobs.lua on line 33 2. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84 3. gamemodes/darkrp/gamemode/libraries/fn.lua on line 84 4. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 137 5. gamemodes/darkrp/gamemode/libraries/modificationloader.lua on line 148 6. gamemodes/darkrp/gamemode/init.lua on line 111 ------- End of Simplerr error  GAMEMODE.CivilProtection = {     [TEAM_POLICE] = true,     [TEAM_CHIEF] = true,     [TEAM_MAYOR] = true,     [TEAM_BLOODS] = true, } TEAM_BLOODS = DarkRP.createJob("Blood", {    color = Color(255, 0, 0, 255),    model = {    "models/player/bloodz/slow_1.mdl",    "models/player/bloodz/slow_2.mdl",    "models/player/bloodz/slow_3.mdl"},    description = [[ lol ]],    weapons = {"weapon_fists", "lockpick"},    command = "blood",    max = 10,    salary = 0,    admin = 0,    vote = false,    hasLicense = false,    category = "Criminals",    })
Sorry, you need to Log In to post a reply to this thread.