Community Forum

find the number of items in shop

Forum Overview >> Scripting

Created24.01.2022 02:03

Jack Cimicato (DemonBigj781) 24.01.2022 02:03
In lua i'm trying to get the number of items in the shop so i can modify then attributes later.
so far i have this.

a = a + 1
until pcall(StoreManager:getItems() not passedTest

i cant seam to get the code right and i am on my last nerve on this.

Michael T. (mx11de) 26.01.2022 15:16
You can iterate over g_storeManager.items

Note: Log in to post. Create a new account here.