Login to ZARP
|
I am trying to make a dedicated server for me and my friends to play right and I am making my own job I have DarkRP modifications and shit but I get this error :/
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 24. The best help I can give you is this: Right before the ',', Lua expected to read a ')', but it didn't. And here is the code TEAM_FUCKNUGGET = DarkRP.createJob("FUCKNUGGET", {
color = Color(25, 25, 170, 255),
model = {"models/player/css_riot"},
description = [[Say Fuck you to everyone yeah know shitz and banters.]],
weapons = ("pocket",),
command = "FUCKU",
max = 69,
salary = 69,
admin = 0,
hasLicense = true,
category = "The dicks", }) You can see Line 24 HAS a ')' |
|
Last Edit: 8 years 11 months ago by Zax.
Login or register to post a reply.
|
TEAM_FUCKNUGGET = DarkRP.createJob("FUCKNUGGET", {
color = Color(25, 25, 170, 255),
model = {"models/player/css_riot"},
description = [[Say Fuck you to everyone yeah know shitz and banters.]],
weapons = ("pocket",),
command = "FUCKU",
max = 69,
salary = 69,
admin = 0,
hasLicense = true,
category = "The dicks",
}) Pretty sure it should be like this. Next time just search on google. |
|
Login or register to post a reply.
|
Didn't work thanks anyways I am now googling
EDIT: I AM DUMB, YOu did fix my jobs.lua error, it was just the categories.lua that made another error :/ I fixed that |
|
Last Edit: 8 years 11 months ago by Zax.
Login or register to post a reply.
|