Jump to content

xxx[مساعدة بسيطة جدا]xxx


Doffy

Recommended Posts

ابي اول ما الواحد يضغط علي زر مرة يغير الكلام الي مكتوب في الازرار لعربي واول ما يضغط مره تانيه يرجعه للانجليزي زي ما كان
هذي محاوتلي

 

addEventHandler("onClientGUIClick",root,
	function ()
		if ( source == GUIEditor.button[7] ) then
			guiSetText(GUIEditor.button[1],"%100 اخذ دم")
			guiSetText(GUIEditor.button[2],"100% اخذ درع")
			guiSetText(GUIEditor.button[3],"وضع لون للسيارة")
			guiSetText(GUIEditor.button[4],"أخذ سيارة")
			guiSetText(GUIEditor.button[5],"أصلاح السيارة")
			guiSetText(GUIEditor.button[6],"شخصية لفل 1")
			guiSetText(GUIEditor.button[7],"English")
		elseif  ( source == GUIEditor.button[7] ) then
			guiSetText(GUIEditor.button[1],"Take Health 100%")
			guiSetText(GUIEditor.button[2],"Take Armour 100%")
			guiSetText(GUIEditor.button[3],"Set Vehicle Color")
			guiSetText(GUIEditor.button[4],"Take Vehicle")
			guiSetText(GUIEditor.button[5],"Fix Vehicle")
			guiSetText(GUIEditor.button[6],"Level 1 Skin")
			guiSetText(GUIEditor.button[7],"عربي")
end
end
)

 

Link to comment
addEventHandler("onClientGUIClick",root,

	function (	)
	
	if ( source == GUIEditor.button[7] ) then
	
	if ( guiGetText ( source ) == "English" ) then
	
	guiSetText(GUIEditor.button[1],"%100 اخذ دم")
	
	guiSetText(GUIEditor.button[2],"100% اخذ درع")
	
	guiSetText(GUIEditor.button[3],"وضع لون للسيارة")
	
	guiSetText(GUIEditor.button[4],"أخذ سيارة")
	
	guiSetText(GUIEditor.button[5],"أصلاح السيارة")
	
	guiSetText(GUIEditor.button[6],"شخصية لفل 1")
	
	guiSetText(GUIEditor.button[7],"عربي")
	
	else
	
	guiSetText(GUIEditor.button[1],"Take Health 100%")
	
	guiSetText(GUIEditor.button[2],"Take Armour 100%")
	
	guiSetText(GUIEditor.button[3],"Set Vehicle Color")
	
	guiSetText(GUIEditor.button[4],"Take Vehicle")
	
	guiSetText(GUIEditor.button[5],"Fix Vehicle")
	
	guiSetText(GUIEditor.button[6],"Level 1 Skin")
	
	guiSetText(GUIEditor.button[7],"English")
			end
		end
	end
	) 
	

 

Edited by Abdul KariM
Link to comment
1 minute ago, Abdul KariM said:

جرب 


addEventHandler("onClientGUIClick",root,

	function (	)
	
	if ( source == GUIEditor.button[7] ) then
	
	if ( guiGetText ( source ) == "English" ) then
	
	guiSetText(GUIEditor.button[1],"%100 اخذ دم")
	
	guiSetText(GUIEditor.button[2],"100% اخذ درع")
	
	guiSetText(GUIEditor.button[3],"وضع لون للسيارة")
	
	guiSetText(GUIEditor.button[4],"أخذ سيارة")
	
	guiSetText(GUIEditor.button[5],"أصلاح السيارة")
	
	guiSetText(GUIEditor.button[6],"شخصية لفل 1")
	
	guiSetText(GUIEditor.button[7],"English")
	
	else
	
	guiSetText(GUIEditor.button[1],"Take Health 100%")
	
	guiSetText(GUIEditor.button[2],"Take Armour 100%")
	
	guiSetText(GUIEditor.button[3],"Set Vehicle Color")
	
	guiSetText(GUIEditor.button[4],"Take Vehicle")
	
	guiSetText(GUIEditor.button[5],"Fix Vehicle")
	
	guiSetText(GUIEditor.button[6],"Level 1 Skin")
	
	guiSetText(GUIEditor.button[7],"عربي")
			end
		end
	end
	) 
	

موب شغال

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...