Me[Z]oO Posted January 18, 2017 Posted January 18, 2017 مثل مسوي بوتون واديت لما اضغط الزر يسوي تريقر سيرفر التريقر مثلا addEvent('ss',true) addEventHandler('ss',root, function(nam) setElementData(resourceRoot,'BB',nam) outputChatBox(getElementData(resourceRoot,'BB'),root,0,255,0) end) nam هذا النص الي بالاديت بوكس المهم الحين ما يقول اسم الداتا الدي بق ما فيه اخطاء وشكرا مقدما
Me[Z]oO Posted January 18, 2017 Author Posted January 18, 2017 (edited) 4 minutes ago, iPrestege said: المفروض يشتغل بدون مشاكل وين الكلنت؟ nameg = guiGetText(name) addEventHandler('onClientGUIClick',root, function() if source == day then triggerServerEvent('ss',localPlayer,nameg) end end) Edit : المشكلة اني حاطط المتغير فوق الايفنت مو بداخله تسلم برستيج Edited January 18, 2017 by Me[Z]oO
iPrestege Posted January 18, 2017 Posted January 18, 2017 addEventHandler( 'onClientGUIClick',day, function ( ) triggerServerEvent ( 'ss',localPlayer,guiGetText(name) ) end,false ) 1
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