Max integer?

Hello,

I was wondering how I could set a max number for an integer. I can do 'if attribute game.SoldierAmmo >= 156' :do: 'timer:"every 0.0001 change attribute game.SoldierAmmo :to: 156"'. But that seemed like to much. I was wondering if there is an easier way to stop the number. Like in FPS games, where you can only have a certain amount of ammo.

Thanks

Comments

Sign In or Register to comment.