Okay so, every time I click add to cart on the item, it is saying that the cart amount value is 1, even though every time I'm adding a different item, it's saying that it's STILL DAMN ONE. cart amount is the amount of different items in the cart. ex: snickers, potato chips = cart amount 2 but if there's 2 snickers, 2 chips, cart amount still = 2. if you need me to explain more, lmk
#IntValue in script pmo
1 messages · Page 1 of 1 (latest)
itemAmount is a int value not the object
you're doing .Value
when using object and their values unless you simply want to compare number don't set a variable to the object value
which gets the value before anything was ever changed
get the object then in ur script do
object.Value
when you click or something
yeah, I don't want to
I want to add 1 to the value
so we start at 0, then you add an item it goes to 1, you add another it goes to 2
yeah you do
object.Value += 1