Jump to content

طلب كود علسريعع


Recommended Posts

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

يعني كدا ؟

 addEventHandler("onClientGUIClick",root

funciton( )

if ( source == button ) then

  1. setTimer
  2.  
  3. text, alpha = "YourText", 0
  4.  
  5. dxDrawText
  6.  
  7. -- ex
  8. local text, alpha = "YourText", 255
  9. local sw, *** = guiGetScreenSize ( )
  10.  
  11. function timerName ()
  12. text, *** = "YourText", 0
  13. end
  14.  
  15. setTimer ( ***, 5*1000, 1 )
  16.  
  17. function render ()
  18. dxDrawText ( text, 0, 0, sw, sh, tocolor ( 0, 0, 0, alpha ), 2, "arial" )
  19. end
  20. addEventHandler ( "onClientRender", root, *** )
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...