Jump to content

كود Super Health


nony

Recommended Posts

Posted

السلام عليكم ورحمه الله وبركاته

يا شباب عندي كود سوبر دم

المشكله اذا مات الاعب مايرجع الدم %100

addEvent("Health",true) 
addEventHandler("Health", root, 
function() 
     local PlayerMoney = getPlayerMoney(source) 
     if (PlayerMoney >= 1500) then 
          takePlayerMoney(source,1500) 
          setPedStat(source, 24, 999) 
          setElementHealth(source,200) 
          outputChatBox("has bought", root, 255, 0, 0, true) 
     else 
          outputChatBox("you Don't have enough Money", source, 255, 0, 0, true) 
     end 
end) 

Posted

كلنت

function kill() 
 triggerServerEvent("Health",getLocalPlayer())  
addEventHandler ( "onClientPlayerSpawn", getLocalPlayer(), kill ) 

سيرفر

addEvent("Health", true) 
    addEventHandler("Health", getRootElement(), 
function () 
setPedStat(source, 24, 0) 
end) 
  

Posted
جرب
addEventHandler(  
    'onPlayerWasted', getRootElement( ), 
    function() 
        setPedStat ( source, 24, 100 ) 
    end 
) 

يسير الدم %1 خخخخخخخخخ

Posted
جرب
addEventHandler(  
    'onPlayerWasted', getRootElement( ), 
    function() 
        setPedStat ( source, 24, 100 ) 
    end 
) 

يسير الدم %1 خخخخخخخخخ

و مين قالك يصير 1

جربته؟

Posted
جرب
addEventHandler(  
    'onPlayerWasted', getRootElement( ), 
    function() 
        setPedStat ( source, 24, 100 ) 
    end 
) 

يسير الدم %1 خخخخخخخخخ

و مين قالك يصير 1

جربته؟

اكيد جربته ~.~

Posted

جرب ذا

    addEventHandler( 
        'onPlayerWasted', getRootElement( ), 
        function() 
            setPedStat ( source, 24, 0) 
            setElementHealth(source,100) 
        end 
    ) 

Posted

خطا 888

جرب هذا

addEvent("Health",true) 
addEventHandler("Health", root, 
function() 
     local PlayerMoney = getPlayerMoney(source) 
     if (PlayerMoney >= 1500) then 
          takePlayerMoney(source,1500) 
        setPedStat(source,24,999) 
        setElementHealth(source,200) 
          outputChatBox("has bought", root, 255, 0, 0, true) 
     else 
          outputChatBox("you Don't have enough Money", source, 255, 0, 0, true) 
     end 
end) 
  

Posted
جرب
addEventHandler(  
    'onPlayerWasted', getRootElement( ), 
    function() 
        setPedStat ( source, 24, 569 ) 
    end 
) 

الكود صحيح

--

وبنسبه لصاحب الموضوع بعطيك معلومه

setPedStat اقلب او اكثر الـ

تلاقيها في الفري روم اف1

Posted
جرب
addEventHandler(  
    'onPlayerWasted', getRootElement( ), 
    function() 
        setPedStat ( source, 24, 569 ) 
    end 
) 

الكود صحيح

شاطر ي بطل

:lol:

Posted
جرب
addEventHandler(  
    'onPlayerWasted', getRootElement( ), 
    function() 
        setPedStat ( source, 24, 569 ) 
    end 
) 

الكود صحيح

--

وبنسبه لصاحب الموضوع بعطيك معلومه

setPedStat اقلب او اكثر الـ

تلاقيها في الفري روم اف1

تسسسسلم ايديك على المعلومه ^^

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