Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MACRO TO SHOW YOUR STAMINA
#1
I dont know how to do this in bbot, but i need to know how to make division with macros, like:


Stamina:=Self.StaminaMins()
StaHours:=Stamina/60 < This need to be a int number
StaMins:=Stamina-StaHours*60
Hud.Setup ................

What's Wrong?

3800 {Stamina} Sta:=Self.StaminaMins() StaHours:=VarDiv(!Sta!, 60) StaLeft:=VarSub(!StaHours!, 14) HUD.Setup(3, 3, 255, 255, 255) HUD.Display(!StaLeft!)
#2
(03-28-2014, 10:47 AM)raphaelignacio Wrote: I dont know how to do this in bbot, but i need to know how to make division with macros, like:


Stamina:=Self.StaminaMins()
StaHours:=Stamina/60 < This need to be a int number
StaMins:=Stamina-StaHours*60
Hud.Setup ................

What's Wrong?

3800 {Stamina} Sta:=Self.StaminaMins() StaHours:=VarDiv(!Sta!, 60) StaLeft:=VarSub(!StaHours!, 14) HUD.Setup(3, 3, 255, 255, 255) HUD.Display(!StaLeft!)
up

I DID, THANKS FOR HELPING COMMUNITY!


Forum Jump:


Users browsing this thread: 1 Guest(s)