• DarkRP Job Error
    3 replies, posted
Hello, would like some input on how to solve this. Getting this lua in the console: [CODE][ERROR] addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua:219: '}' expected near 's_swep' 1. unknown - addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua:0[/CODE] I found the line and it was a problem with the spiderman swep in my ninja job. [CODE] TEAM_NINJA = DarkRP.createJob('Ninja', { color = Color(201, 201, 201, 255), VIPOnly = true, model = 'models/player/replican2npc.mdl', description = [[Quickly get around the city and take out your enemies with honor! You may mug and raid!]], weapons = {'spiderman's_swep', 'climb_swep2', 'weapon_katana', 'weapon_arc_atmcard'}, -- Problem occuring with the 'spiderman's_swep' part command = 'ninja', max = 2, salary = 55, admin = 0, vote = false, hasLicense = false, customCheck = function(ply) return CLIENT or table.HasValue({'superadmin', 'admin', 'VIP', 'Supporter'}, ply:GetNWString('usergroup')) end, CustomCheckFailMsg = 'This job is donator only!', })[/CODE] I guess the lua code gets confused by the apostrophe there. Anyway to solve this?
Usually you can do \' on the apostrophe, so spiderman\'s_swep
don't know how to solve this issue but here's some flintstone's hentai [IMG]http://img.yaoicomix.com/smartcj/pokemonyaoi//galleries/0/581/2_937.jpg[/IMG] [editline]10th April 2014[/editline] like what the hell do you think is going on in that photo "oh god fred please stick your caveman cock deep inside my anus"
Ok I fixed it, was a stupid fix but [CODE]weapons = {'spiderman's_swep', 'climb_swep2', 'weapon_katana', 'weapon_arc_atmcard'}, -- Problem occuring with the 'spiderman's_swep' part[/CODE] [CODE]weapons = {"spiderman's_swep", 'climb_swep2', 'weapon_katana', 'weapon_arc_atmcard'}, -- Problem occuring with the 'spiderman's_swep' part[/CODE] Did not know you could use quotes ("") in the code instead of ('')
Sorry, you need to Log In to post a reply to this thread.