• Script Error in my Garry`s Mod server.
    3 replies, posted
I added new things to my jobs in my DarkRP server and these errors came up: [DarkRP] gamemodes/darkrp/gamemode/config/jobrelated.lua:147: '}' expected near 'weapon_fists' 1. unknown - gamemodes/darkrp/gamemode/config/jobrelated.lua:0 Also I checked line 147 here it is anyway: TEAM_ADMIN = AddExtraTeam("Admin On Duty Batman", Color(255, 255, 0, 255), "models/player/superheroes/batman.mdl", [[I AM AN ADMIN! FEAR ME!]], {"weapon_crossbow, "weapon_fists.lua"}, "adminb", 1, 69, 1, false, true, false)
[lua] TEAM_ADMIN = AddExtraTeam("Admin On Duty Batman", Color(255, 255, 0, 255), "models/player/superheroes/batman.mdl", [[I AM AN ADMIN! FEAR ME!]], {"weapon_crossbow, "weapon_fists"}, "adminb", 1, 69, 1, false, true, false)[/lua] You didn't need the .lua at the end of weapon_fists.
It still comes up with the error :(
[lua] TEAM_ADMIN = AddExtraTeam("Admin On Duty Batman", Color(255, 255, 0, 255), "models/player/superheroes/batman.mdl", [[I AM AN ADMIN! FEAR ME!]], {"weapon_crossbow", "weapon_fists"}, "adminb", 1, 69, 1, false, true, false)[/lua] There you go, forgot to put a " at the end of crossbow.
Sorry, you need to Log In to post a reply to this thread.