• [ERROR] help me please my jobs.lua don't work
    5 replies, posted
so I want to make a job but its not working help me plz! here is the job code TEAM_STAFF = DarkRP.createJob("staff", { color = color(168, 8, 8, 255), model = {"models/player/combine_super_soldier.mdl"}, description = [[ You are a staff member, DO NOT RP ON THIS JOB! ]], weapons = {}, command = "/staff", max = 10, salary = 125, admin = 0, vote = true, hasLicense = true, candemote = false, }) Here is the error I'm getting: [ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 22. The best help I can give you is this: Right before the ',', Lua encountered something it could not make sense of. Hints:         - Did you forget something here? (Perhaps a closing bracket)         - Is it a typo? ------- End of Simplerr error -------   1. error - [C]:-1    2. doInclude - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530     3. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:137      4. Call - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:148       5. unknown - gamemodes/darkrp/gamemode/init.lua:111 Couldn't Load Init Script: 'darkrp/gamemode/init.lua'
what's line 22
command = "/staff", Remove "/", darkrp already add this symbol on gamemode init
color = Color(168, 8, 8),
i got it.
Sorry, you need to Log In to post a reply to this thread.