#Mr.alkmasha Posted August 11, 2014 Share Posted August 11, 2014 addEventHandler("onClientGUIClick",getRootElement (), function() if source == GUIEditor_Button[4] then setElementArmor ( localPlayer, 100 ) end end) وش الخطأ هنا؟ Link to comment
</Mr.Tn6eL> Posted August 11, 2014 Share Posted August 11, 2014 كلنت addEventHandler("onClientGUIClick", resourceRoot, function() if source == GUIEditor_Button[4] then triggerServerEvent("onPlayerGiveArmor", localPlayer) end end) سيرفر addEvent("onPlayerGiveArmor", true) addEventHandler("onPlayerGiveArmor", root, function( ) setPedArmor(source, 100) end) الخطا انك حاط setElementArmor مفروض تحط setPedArmor + الخطا الثاني ان setPedArmor فنشن خاص بالسيرفر ولازم تسوي ترايقر Link to comment
#Mr.alkmasha Posted August 11, 2014 Author Share Posted August 11, 2014 يب يب انا فكرت كذا من الاول بس قلت مو مهم 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