So hello there, i was trying to help out a server and someone tried to create a job, after that the server got this error:
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 703.
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 -------
After that he removed the costum job that he created but the error was still there, this is what the FTP looks like at the like 703
GAMEMODE.DefaultTeam = TEAM_CITIZEN
--[[---------------------------------------------------------------------------
Define which teams belong to civil protection
Civil protection can set warrants, make people wanted and do some other police related things
---------------------------------------------------------------------------]]
GAMEMODE.CivilProtection = {
[TEAM_POLICE] = true,
[TEAM_CHIEF] = true,
[TEAM_MAYOR] = true,
[TEAM_SWATLEADER] = true,
[TEAM_SWATMEDIC] = true,
[TEAM_SWATSNIPER] = true,
[TEAM_SWAT] = true,
}
--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_HITMAN)
DarkRP.addHitmanTeam(TEAM_ELITEHITMAN)
}
Sorry for taking away your time but i've been trying to fix that for the last days and i couldn't do it sadly.
You have a useless close bracket at the end of your code.
[QUOTE=code_gs;52368068]You have a useless close bracket at the end of your code.[/QUOTE]
Alright i'll try to check and give you feedback
[editline]16th June 2017[/editline]
[QUOTE=code_gs;52368068]You have a useless close bracket at the end of your code.[/QUOTE]
Alright man it worked thank you!
Sorry, you need to Log In to post a reply to this thread.