• "Lua" Error (DarkRP)
    4 replies, posted
Error: [ERROR] gamemodes/darkrp/config/jobrelated.lua:239: unexpected symbol near ')' 1. unknown - gamemodes/darkrp/config/jobrelated.lua:0 And lines near 239 -- Compatibility for when default teams are disabled TEAM_CITIZEN = TEAM_CITIZEN or -1 TEAM_POLICE = TEAM_POLICE or -1 TEAM_GANG = TEAM_GANG or -1 TEAM_MOB = TEAM_MOB or -1 TEAM_GUN = TEAM_GUN or -1 TEAM_MEDIC = TEAM_MEDIC or -1 TEAM_CHIEF = TEAM_CHIEF or -1 TEAM_MAYOR = TEAM_MAYOR or -1 TEAM_HOBO = TEAM_HOBO or -1 /* <---- Line 239 -------------------------------------------------------- HOW TO MAKE A DOOR GROUP -------------------------------------------------------- AddDoorGroup("NAME OF THE GROUP HERE, you see this when looking at a door", Team1, Team2, team3, team4, etc.) The default door groups, can also be used as examples: */ AddDoorGroup("Cops and Mayor only", TEAM_CHIEF, TEAM_SWAT, TEAM_SWATC, TEAM_SWATM, TEAM_POLICE, TEAM_MAYOR) AddDoorGroup("Gun Dealer only", TEAM_GUN) What is wrong here?
Remove that comment, and get the error from console again. The line should be different.
[QUOTE=Robotboy655;44553229]Remove that comment, and get the error from console again. The line should be different.[/QUOTE] You mean "<---- Line 239" I added that to show what line it was. Or did you mean /*?
[QUOTE=MrSkeleton33;44553500]You mean "<---- Line 239" I added that to show what line it was. Or did you mean /*?[/QUOTE] [code] /* <---- Line 239 -------------------------------------------------------- HOW TO MAKE A DOOR GROUP -------------------------------------------------------- AddDoorGroup("NAME OF THE GROUP HERE, you see this when looking at a door", Team1, Team2, team3, team4, etc.) The default door groups, can also be used as examples: */[/code] That is a comment. Remove it. All of it. Also, use [code] tags.
[QUOTE=Robotboy655;44553592][code] /* <---- Line 239 -------------------------------------------------------- HOW TO MAKE A DOOR GROUP -------------------------------------------------------- AddDoorGroup("NAME OF THE GROUP HERE, you see this when looking at a door", Team1, Team2, team3, team4, etc.) The default door groups, can also be used as examples: */[/code] That is a comment. Remove it. All of it. Also, use [code] tags.[/QUOTE] THANK YOU!
Sorry, you need to Log In to post a reply to this thread.