I got an Error Saying this to my Police Role saying this,
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 39.
The best help I can give you is this:
There is an opening '(' bracket at line 34, but this bracket is never closed or not closed in time. It was expected to be closed before the 'weapons' at line 39.
So i did Listen But i Still got the Error AGAIN! i need your help. And im sorry if i made alot of mistakes and its just too much for you to Explain, but atleast teach me what i did wrong here
EAM_POLICE = DarkRP.createJob("Police", {
color = {0, 0, 255, 0},
model = {models/player/gasmask.mdl},
description = [[You are a police, Arrest people that dosent listen to law!]],
command = "!job, !dropmoney"
}weapons = {arrest_stick, unarrest_stick, m9k_m4a1",
max = 8,
salary = 300,
admin = 0,
vote = true,
hasLicense = true,
candemote = false,
category = "Goverment",
Thank you
TEAM_POLICE = DarkRP.createJob("Police", {
color = {0, 0, 255, 0},
model = {models/player/gasmask.mdl},
description = [[You are a police, Arrest people that dosent listen to law!]],
command = "!job, !dropmoney"
weapons = {arrest_stick, unarrest_stick, m9k_m4a1"},
max = 8,
salary = 300,
admin = 0,
vote = true,
hasLicense = true,
candemote = false,
category = "Goverment",
})
Make sure you always close your brackets.
OOF, i forgot about that cause the error said "before" not "after" haha Thanks!
Sorry, you need to Log In to post a reply to this thread.