Some simple question - didn't know where else to post!

Just a few questions about Lua because I cannot find information elsewhere. I understand the rest of the clotheshop script except these two:

for i=1, #Config.Shops, 1 do

There are 14 inputs in the shops array, so why wouldn’t it be ‘14 do’ ?
Two 1’s are not making sense to me.

Config.Zones[‘Shop_’ … i] = {

In the zones index… What’s this? ‘Shop_’ … i’?

didn’t know where else to post!

https://forum.cfx.re/c/development/scripts

Resource Development & Modding
Information and discussion about modifying and developing resources goes in Resource Development & Modding.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.