Estevam2d Posted September 29, 2014 Share Posted September 29, 2014 I wanted to use fire extinguisher to extinguish the fire when I would win cash Fire is considered an object ? must be all wrong if my script someone help me I appreciate it very much. addEventHandler ("onClientGUIClick", getRootElement(), function(theSize) if (source == GUIEditor_Button[1]) then if guiRadioButtonGetSelected(radioButton1) == true then if weapon == 42 and getElementType(source)=="object" then fire = createFire(2103.462, -1720.102, 13.389,(weapon)) end end end end ) Link to comment
crismar Posted September 30, 2014 Share Posted September 30, 2014 Sorry but... this doesn't make any sense o_O Link to comment
#DRAGON!FIRE Posted September 30, 2014 Share Posted September 30, 2014 what u want ? errors .. : function(theSize) what theSize ? weapon = ? getElementType(source)=="object" = ? .. source = button was clicked u check if button == object Link to comment
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