Jump to content

ما عرفت


Recommended Posts

addEventHandler("onClientGUIClick", root,
	function()
		if source == GUIEditor.button[3] then
		local gft = guiGetText(GUIEditor.edit[1])
		if gft == "" then return end
			playSoundFrontEnd ( 30 ) 
			dxDrawRectangle(0, 551, 800, 39, tocolor(0, 0, 0, 159), false)
	dxDrawText(gft, 0, 551, 800, 586, tocolor(255, 255, 255, 255), 2.20, "sans", "center", "center", false, false, false, false, false)
		end
	end
)

لما اضغط الزر الرسالة تجي وتختفي بلمح البصر

ابيها تقعد شوي قبل تختفي

Edited by A7MEDENO
Link to comment
Just now, A7MEDENO said:

addEventHandler("onClientGUIClick", root,
	function()
		if source == GUIEditor.button[3] then
		local gft = guiGetText(GUIEditor.edit[1])
		if gft == "" then return end
			playSoundFrontEnd ( 30 ) 
			dxDrawRectangle(0, 551, 800, 39, tocolor(0, 0, 0, 159), false)
	dxDrawText(gft, 0, 551, 800, 586, tocolor(255, 255, 255, 255), 2.20, "sans", "center", "center", false, false, false, false, false)
		end
	end
)

لما اضغط الزر الرسالة تجي وتختفي بلمح البصر

ابيها تقعد شوي قبل تختفي



 

addEventHandler("onClientGUIClick", root,
	function()
		if source == GUIEditor.button[3] then
		local gft = guiGetText(GUIEditor.edit[1])
		if gft == "" then return end
			playSoundFrontEnd ( 30 )
			a = 255
		end
	end
)
a = 0
function test ()
dxDrawRectangle(0, 551, 800, 39, tocolor(0, 0, 0, a/2), false)
dxDrawText(gft, 0, 551, 800, 586, tocolor(255, 255, 255, a), 2.20, "sans", "center", "center", false, false, false, false, false)
end
addEventHandler ( "onClientRender", root , test )

 

Link to comment
function test2 ()
	if source == GUIEditor.button[3] then
		local gft = guiGetText(GUIEditor.edit[1])
		if gft == "" then return end
		gft = guiGetText(GUIEditor.edit[1])
		playSoundFrontEnd ( 30 )
		a = 255
	end
end

addEventHandler("onClientGUIClick", root, test2 )

a = 0
gft = ""

function test1 ()
dxDrawRectangle(0, 551, 800, 39, tocolor(0, 0, 0, a/2), false)
dxDrawText(gft, 0, 551, 800, 586, tocolor(255, 255, 255, a), 2.20, "sans", "center", "center", false, false, false, false, false)
end
addEventHandler ( "onClientRender", root , test1 )

 

Link to comment

 

4 minutes ago, Killer Project said:

function test2 ()
	if source == GUIEditor.button[3] then
		local gft = guiGetText(GUIEditor.edit[1])
		if gft == "" then return end
		gft = guiGetText(GUIEditor.edit[1])
		playSoundFrontEnd ( 30 )
		a = 255
	end
end

addEventHandler("onClientGUIClick", root, test2 )

a = 0
gft = ""

function test1 ()
dxDrawRectangle(0, 551, 800, 39, tocolor(0, 0, 0, a/2), false)
dxDrawText(gft, 0, 551, 800, 586, tocolor(255, 255, 255, a), 2.20, "sans", "center", "center", false, false, false, false, false)
end
addEventHandler ( "onClientRender", root , test1 )

 

dxDrawRectangle

ظهرت

dxDrawText

ما ظهرت

Link to comment
11 minutes ago, Killer Project said:

function test2 ()
	if source == GUIEditor.button[3] then
		local gft = guiGetText(GUIEditor.edit[1])
		if gft == "" then return end
		gft = guiGetText(GUIEditor.edit[1])
		playSoundFrontEnd ( 30 )
		a = 255
	end
end

addEventHandler("onClientGUIClick", root, test2 )

a = 0
gft = ""

function test1 ()
dxDrawRectangle(0, 551, 800, 39, tocolor(0, 0, 0, a/2), false)
dxDrawText(gft, 0, 551, 800, 586, tocolor(255, 255, 255, a), 2.20, "sans", "center", "center", false, false, false, false, false)
end
addEventHandler ( "onClientRender", root , test1 )

 

 =

if gft == "" then return end

  ^سطر 5 ؟
سطر 15 صح

Edited by medo7
:
Link to comment
function test2 ()
	if source == GUIEditor.button[3] then
		local gft = guiGetText(GUIEditor.edit[1])
		if gft == "" then return end
		playSoundFrontEnd ( 30 )
		a = 255
	end
end

addEventHandler("onClientGUIClick", root, test2 )

a = 0

function test1 ()
gft = guiGetText(GUIEditor.edit[1]) or ""
dxDrawRectangle(0, 551, 800, 39, tocolor(0, 0, 0, a/2), false)
dxDrawText(gft, 0, 551, 800, 586, tocolor(255, 255, 255, a), 2.20, "sans", "center", "center", false, false, false, false, false)
end
addEventHandler ( "onClientRender", root , test1 )

 

Link to comment
2 minutes ago, Killer Project said:

function test2 ()
	if source == GUIEditor.button[3] then
		local gft = guiGetText(GUIEditor.edit[1])
		if gft == "" then return end
		playSoundFrontEnd ( 30 )
		a = 255
	end
end

addEventHandler("onClientGUIClick", root, test2 )

a = 0

function test1 ()
gft = guiGetText(GUIEditor.edit[1]) or ""
dxDrawRectangle(0, 551, 800, 39, tocolor(0, 0, 0, a/2), false)
dxDrawText(gft, 0, 551, 800, 586, tocolor(255, 255, 255, a), 2.20, "sans", "center", "center", false, false, false, false, false)
end
addEventHandler ( "onClientRender", root , test1 )

 

a= 0 ~ مخفي

Link to comment
gft = {}

function o7a()
			playSoundFrontEnd ( 30 ) 
			dxDrawRectangle(0, 551, 800, 39, tocolor(0, 0, 0, 159), false)
	dxDrawText(gft[1], 0, 551, 800, 586, tocolor(255, 255, 255, 255), 2.20, "sans", "center", "center", false, false, false, false, false)

end

addEventHandler("onClientGUIClick", root,
	function()
		if source == GUIEditor.button[3] then
		gft[1] = guiGetText(GUIEditor.edit[1])
		if gft == "" then return end
addEventHandler("onClientRender",getRootElement(),o7a)
		end
	end
)

 

Link to comment
Just now, A7MEDENO said:

الحين كيف اسويلها تايمر

وتختفي



 

function test2 ()
	if source == GUIEditor.button[3] then
		local gft = guiGetText(GUIEditor.edit[1])
		if not ( gft == "" ) then
		playSoundFrontEnd ( 30 )
		a = 255
		gft = guiGetText(GUIEditor.edit[1])
		setTimer ( function ()
			a = 0
		end, 5000, 1 )
		end
	end
end

addEventHandler("onClientGUIClick", root, test2 )

a = 0

function test1 ()
gft = gft or ""
dxDrawRectangle(0, 551, 800, 39, tocolor(0, 0, 0, a/2), false)
dxDrawText(gft, 0, 551, 800, 586, tocolor(255, 255, 255, a), 2.20, "sans", "center", "center", false, false, false, false, false)
end
addEventHandler ( "onClientRender", root , test1 )


 

Edited by Killer Project
Link to comment
5 minutes ago, 3laa33 said:

سويلها زي ماتسويلها تبي نجي نبرمجلك سيرفر بالمرة؟

والله تبي تجي تعال

4 minutes ago, Killer Project said:



 


function test2 ()	if source == GUIEditor.button[3] then		local gft = guiGetText(GUIEditor.edit[1])		if not ( gft == "" ) then		playSoundFrontEnd ( 30 )		a = 255		gft = guiGetText(GUIEditor.edit[1])		setTimer ( function ()			a = 0		end, 5000, 1 )		end	endendaddEventHandler("onClientGUIClick", root, test2 )a = 0function test1 ()dxDrawRectangle(0, 551, 800, 39, tocolor(0, 0, 0, a/2), false)dxDrawText(gft, 0, 551, 800, 586, tocolor(255, 255, 255, a), 2.20, "sans", "center", "center", false, false, false, false, false)endaddEventHandler ( "onClientRender", root , test1 )


 

يعطيك العافيه

Link to comment
addEventHandler ( 'onClientGUIClick' , GUIEditor.button[3] ,
function ( )
	local Text = guiGetText ( GUIEditor.edit [ 1 ] )
	if ( Text ~= '' ) then 
		local Render = function ( ) 
			dxDrawRectangle ( 0 , 551 , 800 , 39 , tocolor ( 0 , 0 , 0 , 159 ) , false )
			dxDrawText ( Text , 0 , 551 , 800 , 586 , tocolor ( 255 , 255 , 255 , 255 ) , 2.20, 'sans' , 'center' , 'center' , false , false , false , false , false )
		end 	
		return ( playSoundFrontEnd ( 30 ) and addEventHandler ( 'onClientRender' , root , Render ) and 
			setTimer ( function ( ) removeEventHandler ('onClientRender' , root , Render ) 
		end , 5000 , 1  ) )
	end
end , false )

 

  • Like 1
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...