Auto-translated
Hmm, it's strange that I didn't notice that. Thanks, I'll try it now.
Added after 1 hour 42 minutes
It seems there's an error here. "attempt to call table value," or something like that. How can I fix it? (I need an array, there are many components).
Added after 1 hour 42 minutes
if GetPlayerResource(1, k1) >= res1{k1+1} thenIt seems there's an error here. "attempt to call table value," or something like that. How can I fix it? (I need an array, there are many components).