ivor Posted June 11, 2018 Share Posted June 11, 2018 وين الخطأ الي هنا ؟ , اشغل المود ويشتغل والدي بق مايطلع اي اخطاء ! function gmcommand () if getElementData(localPlayer,"HUD",true) then setElementData(localPlayer,"HUD",false) end elseif getElementData(localPlayer,"HUD",false) then setElementData(localPlayer,"HUD",true) end end addCommandHandler ( "showgm", gmcommand ) للتوضيح : - هذا امر اذا يكتبه اللاعب يخفي له الجيو مسج واذا يكتبه ثاني يظهر له الجيو مسج . Link to comment
Abdul KariM Posted June 11, 2018 Share Posted June 11, 2018 function gmcommand ( ) local aData = getElementData ( localPlayer , "HUD" ) or false setElementData( localPlayer , "HUD" , not aData ) end addCommandHandler ( "showgm", gmcommand ) 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