Jump to content

ماهو الحدث المطلوب ؟ ؟


Recommended Posts

السلام عليكم

يا اخوان سويت كود بسيط

وهو يتحقق إذا وصل طاقة اللاعب تحت الـ 5 , ترجع طاقته 100 كل مرة توصل لأقل من الـ 5

بس ابيه يكون كل ماوصلت طاقته تحت الـ 5 ترجع كاملة

هذا الكود بس محتاج الحدث

سيرفر

  
function Good(source)  
if getElementHealth(source) <= 70 then  
setTimer(setElementHealth ,50 , 1 , source , 100) 
outputChatBox("Done") 
end 
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...