top sniper Posted May 10, 2012 Share Posted May 10, 2012 hi i dont know wear is the problem ,, can i get help client side: function onGuiClick (button, state, absoluteX, absoluteY) if source == yes then triggerServerEvent("rep",getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) --- addEvent("rep1",true) addEventHandler("rep1",root, function() a = guiGetText ( edah ) local t = 1000 local e = 1 setTimer( function () guiSetText ( labelpa, a ) end , t , e ) end ) addEvent("rep",true) addEventHandler("rep",root, function() triggerClientEvent("rep1",source) end ) /debugscript 3 is not showing any problem Link to comment
TAPL Posted May 10, 2012 Share Posted May 10, 2012 (edited) addEvent("rep",true) addEventHandler("rep",root, function() triggerClientEvent(root,"rep1",root) end) check the code i edit it Edited May 10, 2012 by Guest Link to comment
top sniper Posted May 10, 2012 Author Share Posted May 10, 2012 addEvent("rep",true) addEventHandler("rep",root, function() triggerClientEvent(root,"rep1",root) end) check the code i edit it Every time you help me Thanks ( شكرا لكم ) Link to comment
top sniper Posted May 10, 2012 Author Share Posted May 10, 2012 'yes' is not defined. no ,, i did not wrote the full code .. there was a botton with yes element ,, any way tapl fixed the problem and thank you CapY 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