• I almost have it figured out.
    0 replies, posted
I wrote this: [code]function killJoy( victim, weapon, killer ) if weapon:GetClass "kermite_knife_hibben" then PrintMessage( HUD_PRINTTALK, victim:Name() .. " has died, mysteriously!" ) killer:addMoney( 50 ) end end) hook.Add("PlayerDeath", "rewards serial killer", killJoy)[/code] and i get [quote][ERROR] addons/darkrpmodification/lua/darkrp_modules/serialkiller/sh_killer.lua:6: unexpected symbol near ')' 1. unknown - addons/darkrpmodification/lua/darkrp_modules/serialkiller/sh_killer.lua:0[/quote] what did i miss? [highlight](User was banned for this post ("undescriptive thread title, this isn't the section for coding help." - postal))[/highlight]
Sorry, you need to Log In to post a reply to this thread.