Tnks! It was so simple that I don't know why I didn't tnk of it myself.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu SetGlobalInt(1, 50); //Health
SetGlobalInt(2, 0); //Mana
SetGlobalInt(3, 0); //Exp
SetGlobalInt(4, 1); //Level
SetGlobalInt(5, 100); //Town gaurd 1 health.
SetGlobalInt(6, 15); //Charcater attack
SetGlobalInt(7, 20); //Town gaurd 1 attack
function Health1_OnClick(GUIControl *control, MouseButton button)
{
Display("You have %d HP remaining",GetGlobalInt(1));
}
SetGlobalInt(1, GetGlobalInt(1)-20); //Deals atk damage from opponets attack.
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.060 seconds with 13 queries.