#Whit3^ Posted May 12, 2013 Posted May 12, 2013 _addEventHandler = addEventHandler function addEventHandler(theEvent, parent, func, propagated) if not propagated then propagated = false end local num = #events+1 events[num] = {} events[num].events = theEvent events[num].parent = parent events[num].func = func return _addEventHandler(theEvent, parent, func, propagated) end WARNING: deatmatch/etcetcetc/load.lua:85: Bad Argument @ 'addEventHandler' [Expected function at argument 3,got nil]
Castillo Posted May 12, 2013 Posted May 12, 2013 That's not the full script, and the problem is not on that part you posted. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now