Mr-MohameD Posted April 11, 2018 Share Posted April 11, 2018 Quote Spoiler بدي يا شباب لما اضغط على زر يخرج Text(DxDrawText) يبقى 5 ثواني ويروح Spoiler Spoiler Spoiler Spoiler Spoiler Spoiler Link to comment
AHMED MOSTAFA Posted April 11, 2018 Share Posted April 11, 2018 14 minutes ago, Mr-MohameD said: تايمر + متغيرات و ترايجر في حالة تبي الكلام يظهر للكل setTimer text, alpha = "YourText", 0 dxDrawText -- ex local text, alpha = "YourText", 255 local sw, *** = guiGetScreenSize ( ) function timerName () text, *** = "YourText", 0 end setTimer ( ***, 5*1000, 1 ) function render () dxDrawText ( text, 0, 0, sw, sh, tocolor ( 0, 0, 0, alpha ), 2, "arial" ) end addEventHandler ( "onClientRender", root, *** ) حاول تعرف وش فيه مكان *** في المثال ملاحظة : ما في امثلة جاهزة Link to comment
Mr-MohameD Posted April 11, 2018 Author Share Posted April 11, 2018 يعني كدا ؟ addEventHandler("onClientGUIClick",root funciton( ) if ( source == button ) then setTimer text, alpha = "YourText", 0 dxDrawText -- ex local text, alpha = "YourText", 255 local sw, *** = guiGetScreenSize ( ) function timerName () text, *** = "YourText", 0 end setTimer ( ***, 5*1000, 1 ) function render () dxDrawText ( text, 0, 0, sw, sh, tocolor ( 0, 0, 0, alpha ), 2, "arial" ) end addEventHandler ( "onClientRender", root, *** ) 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