Jump to content

-[مساعدة}-


Doffy

Recommended Posts

ابي اول ما الواحد يفعل القفزة المرتفعة تجيله في البار شات ومو ظابطة ياريت تفيدوني هذي محاولتي

--Client
addEventHandler("onClientGUIClick",root,
function()
if ( source == GUIEditor.button[5] ) then
setWorldSpecialPropertyEnabled ( "extrajump", true )
triggerServerEvent("m",localPlayer)
end
end)
--Server
addEvent("m",true)
addEventHandler("m",root,
function()
exports["TopBarChat"]:sendClientMessage ("[Ranks System] تم تشغيل القفزة المرتفعة.",150, 255, 150,true,5)
end)

 

Link to comment

غير مجرب كلنت :

addEventHandler ( "onClientGUIClick", root,
function (   )
        if ( source == GUIEditor.button[5] ) then
			  setWorldSpecialPropertyEnabled ( "extrajump", true )
			  exports["TopBarChat"]:sendClientMessage ("[Ranks System] تم تشغيل القفزة المرتفعة.",255,255,255,true )
			end
		end
)

 

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

غير مجرب كلنت :


addEventHandler ( "onClientGUIClick", root,
function (   )
        if ( source == GUIEditor.button[5] ) then
			  setWorldSpecialPropertyEnabled ( "extrajump", true )
			  exports["TopBarChat"]:sendClientMessage ("[Ranks System] تم تشغيل القفزة المرتفعة.",255,255,255,true )
			end
		end
)

 

جربت يخوي ما نفع

Link to comment
addEventHandler ( "onClientGUIClick", root, 
function (   )
if ( source == GUIEditor.button[5] ) then
setWorldSpecialPropertyEnabled ( "extrajump", true )
exports.TopBarChat:sendClientMessage ( "Text", 255,255,255, true )
end
end
)

افتح مود توب بار شات

وتاكد ان اسمه بالظبت

TopBarChat

Link to comment
3 minutes ago, Deativated said:

addEventHandler ( "onClientGUIClick", root, 
function (   )
if ( source == GUIEditor.button[5] ) then
setWorldSpecialPropertyEnabled ( "extrajump", true )
exports.TopBarChat:sendClientMessage ( "Text", 255,255,255, true )
end
end
)

افتح مود توب بار شات

وتاكد ان اسمه بالظبت

TopBarChat

اوك شكرا يخوي افدتني الله يعطيك العافية :D 

Link to comment

غير مجرب

addEventHandler ( "onClientGUIClick", root, 
function (   )
if ( source == GUIEditor.button[5] ) then
      setElementData(localPlayer,"Jump",1)
setWorldSpecialPropertyEnabled ( "extrajump", true )
exports.TopBarChat:sendClientMessage ( "Text", 255,255,255, true )
      if getElementData(localPlayer,"Jump") == 1 then
       setWorldSpecialPropertyEnabled ( "extrajump", false )
        exports.TopBarChat:sendClientMessage ( "Text", 255,255,255, true )
end
end
)

 

Edited by Abu-Solo
Link to comment

@Abu-Solo موب كل شي داتا الله يهديك

addEventHandler ( "onClientGUIClick", root, 

	function (   )

	if ( source == GUIEditor.button[5] ) then

	local aState = isWorldSpecialPropertyEnabled ( "extrajump" )
	
	setWorldSpecialPropertyEnabled ( "extrajump", not aState )
	
	local aMsg = aState == true and "True" or "False"
	
	exports.TopBarChat:sendClientMessage ( aMsg, 255,255,255, true )	
		end
	end
	)

 

  • Like 2
Link to comment
Just now, Abdul KariM said:

@Abu-Solo موب كل شي داتا الله يهديك


addEventHandler ( "onClientGUIClick", root, 

	function (   )

	if ( source == GUIEditor.button[5] ) then

	local aState = isWorldSpecialPropertyEnabled ( "extrajump" )
	
	setWorldSpecialPropertyEnabled ( "extrajump", not aState )
	
	local aMsg = aState == true and "True" or "False"
	
	exports.TopBarChat:sendClientMessage ( aMsg, 255,255,255, true )	
		end
	end
	)

 

اللي يعجبني فيك ي عبد الكريم

شئ واحد

تحب تفيد غيرك

:x

  • Like 1
Link to comment

 

addEventHandler("onClientGUIClick", guiRoot,
function()
	if source == YourButton then
		local isWorldSpecialPropertyEnabled = isWorldSpecialPropertyEnabled("extrajump")
		local switch
		if isWorldSpecialPropertyEnabled then switch = false else switch = true end
		setWorldSpecialPropertyEnabled("extrajump", switch)
		outputChatBox(switch and "on" or "off")
	end
end)

اسف عبد الكريم ما شفت ردك

Edited by #Skrillex
  • 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...