03-28-2014, 10:47 AM
(This post was last modified: 03-28-2014, 10:56 AM by raphaelignacio.)
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!)
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!)