Jump to content

* مساعدة :)


Recommended Posts

Posted
function Show(Open,No) 
showCursor(No) 
guiSetVisible(Open,No)       
end 

addEventHandler ("onClientGUIClick", root, 
function() 
      if ( source == Take ) then 
      if ( guiCheckBoxGetSelected( GUIEditor.checkbox[1] ) == true ) then 
triggerServerEvent('Game',localPlayer,localPlayer) 
setGameSpeed(2) 
end 
  
    if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then 
triggerServerEvent('Jump',localPlayer,localPlayer) 
  
end 
  
    if ( guiCheckBoxGetSelected( GUIEditor.checkbox[3] ) == true ) then 
triggerServerEvent('Health10',localPlayer,localPlayer) 
  
end 
  
    if ( guiCheckBoxGetSelected( GUIEditor.checkbox[4] ) == true ) then 
triggerServerEvent('Health',localPlayer,localPlayer) 
end 
elseif ( source == Exit ) then 
Show(DrugWindows,false) 
            
            end 
    end 
) 

سيرفر

addEvent("Game",true) 
  
addEventHandler("Game",root, 
  
function (  ) 
         
  
  
    end 
) 
  
  
  
  
addEvent("Jump",true) 
  
addEventHandler("Jump",root, 
  
function (  ) 
         
        setElementData(source,'Jump',true) 
        setTimer(setElementData,100000,1,source,'Jump',false) 
         
    end 
) 
  
  
  
  
addEvent("Health10",true) 
  
addEventHandler("Health10",root, 
  
function (  ) 
  
setTimer(function ( ) 
        local Health =  
        setElementHealth(source,(getElementHealth(source))+1) 
    end,500,1) 
    end 
) 
  
  
addEvent("Health",true) 
  
addEventHandler("Health",root, 
  
function (  ) 
         
        setElementData(source,'DontKill',true) 
        setTimer(setElementData,100000,1,source,'DontKill',false) 
    end 
) 

بدي يخلي سرعه القيم للاعب فقطط

Posted

. "Game" أنا ما أشوف أي خطأ بكودك بس أحذف الترايقر الي اسمه

"A Year from Now You May Wish You Had Started Today"

Posted
انا ماقلت في اخطاء انا بدي الاعب يصير سريع مو كل الاعبين

بجانب الكلنت فـ السرعة بتصير للاعب بس اما بجانب السيرفر بتصير للكل setGameSpeed دامك حاط الوظيفة

"A Year from Now You May Wish You Had Started Today"

Posted
متاكد علشان لاسويها ويجيب العيد بالسيرفر ضض1

ماله داعي تحطه سويت ترايقر من كلنت للسيرفر وما سويت شيء ماله داعي الترايقر 'Game' ايه متأكد .. بس عندك ترايقر اسمه

"A Year from Now You May Wish You Had Started Today"

Posted

setGameSpeed

في جانب الكلينت ماراح يشوفونه اللاعبين انه سريع يشوفونه ملقلق وتقطيع عنده

سو ترايقر لسيرفر وخل بالترايقر localPlayer

triggerServerEvent('Game',localPlayer)

h3x#2020

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