Jump to content

مشكلة بـ سيرفر وكلنت


M7mD-911

Recommended Posts

زي كذا ؟
function DSSAS( theAttacker, theWeapon )          
  getElementData(theAttacker, "XXX") 
    if theWeapon == 0 then                  
      killPed ( source, theAttacker, theWeapon )              
    end               
end 
  
addEventHandler ( "onPlayerDamage", root,DSSAS) 

# يقصدد تابل

# لأزم تحقق من المنت داتا وتحط الشرط كذا بدون شي م يصير

كذا يعني

if getElementData(theAttacker, "XXX") then

# او لو حاط لها قيمة للداتا نفسها ترو او فلس تسهل لك وتفهمها انها ترو صح موجودة , او فلس مو موجودةة

Edited by Guest
Link to comment
زي كذا ؟

edit:

function DSSAS( theAttacker, theWeapon )          
  if getElementData(theAttacker, "XXX") then 
    if theWeapon == 0 then                  
      killPed ( source, theAttacker, theWeapon )              
    end  
  end     
end 
  
addEventHandler ( "onPlayerDamage", root,DSSAS) 

..كذآ..؟

والكلنت كذآ...؟

        if source == GUIEditor_Button[6] then 
              setElementData(localPlayer, "XXX", true) 
        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...