Mr.Mostafa Posted August 2, 2018 Share Posted August 2, 2018 سلام عليكم كيف آخلي آلصورة آلدي آكس تظهر لجميع آحجآم آلشآشة في نفس آلآحدآثيآت آلي حآططهآ آنآ ؟ + كيف آسوي آخفآء وآرجآع للصورة زي guiSetVisible addEventHandler("onClientRender", root, function() dxDrawImage(611, 514, 121, 118, "photo.png", 0) end ) Link to comment
N3xT Posted August 2, 2018 Share Posted August 2, 2018 بخصوص طلبك الأول, رديت عليك بموضوعك السابق https://forum.multitheftauto.com/topic/76545-how-to-make-dx-fit-on-all-screens/ Link to comment
MrBiG Posted August 2, 2018 Share Posted August 2, 2018 وعليكم السلام سمي الفنكشن الي الصورة فيه وسويله removeEventHandler ( 'onClientRender' , root , functionName ) Link to comment
SycroX Posted August 2, 2018 Share Posted August 2, 2018 function dxSetVisible(func, bool) if func then local Function = bool and addEventHandler or removeEventHandler Function("onClientRender", root, func) end end مثال بسيط عن طلبك الاول 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