manawydan Posted October 18, 2013 Posted October 18, 2013 function ItemG(thePlayer,ID,dop) outputChatBox("LOL") exports [ "heroinventory" ]:addPlayerItem(thePlayer,ID,1) destroyElement(source) end addEventHandler("onPlayerPickupItem",root,ItemG) no work. "Querer não é poder, mas tentar é avançar"!
Markeloff Posted October 18, 2013 Posted October 18, 2013 What this function is supposed to do? What is the debug ? source is not defined. Some people want it to happen, some wish it would happen, others make it happen.
Castillo Posted October 18, 2013 Posted October 18, 2013 'source' must have been passed with the event. 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