Jump to content

كود Super Health


nony

Recommended Posts

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

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

المشكله اذا مات الاعب مايرجع الدم %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) 

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

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

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

جربته؟

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

Link to comment

خطا 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) 
  

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

الكود صحيح

--

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

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

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

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

الكود صحيح

--

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

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

تلاقيها في الفري روم اف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...