How do I use $SetArrayElement$ (THUG PRO)

Offline Brownfloor

  • Newbie
  • *
    • Posts: 3
    • View Profile
How do I use $SetArrayElement$ to edit data inside the example array's located below?

Example #1:
Code: [Select]
:i $testArray$ = :s{
:i $gamer$ = %i(1,00000001)
:i $gamer2$ = %i(2,00000002)
:i :s}

Example #2:
Code: [Select]
:i $testArray$ = :a{
:i :s{
:i $gamer$ = %i(1,00000001)
:i $gamer2$ = %i(2,00000002)
:i :s}
:i :a}

Code: [Select]
:i $testArray$ = :a{%i(1,00000001);%i(2,00000002):a}
« Last Edit: August 19, 2021, 09:10:22 am by Brownfloor »