Jump to content

Archived

This topic is now archived and is closed to further replies.

RezaHaxz

How to put gg.SetValues On Script LUA

Recommended Posts

PLAY = '✅ ON'
function fly()
 if PLAY == '✅ ON' then ds()
 elseif PLAY == '❌ OFF' then da()
 end
if msm == 2 then hax() end
 end

function ds()
PLAY = "❌ OFF"
gg.getListItems(t)
t.value = '1'
gg.setValues(t)
end

function da()
PLAY = "✅ ON"
gg.getListItems(t)

t[1].value = '0'

gg.setValues(t)
end

Share this post


Link to post
Share on other sites


  • Similar Content

    • By Dj-jom2x
      1: setValues - editing freeze value doesn't work.. 
      r = gg.getListItems() r[1].freeze = true gg.setValues(r) 2: setValues can only change values if its not on freeze state
      r = gg.getListItems() r[1].value = 200 gg.setValues(r)   you can call the list items again just to see the freeze still false even if you set on true. like this
      r = gg.getListItems() r[1].freeze = true gg.setValues(r) d = gg.getListItems() print(d) maybe im missing something or its gg fault. need clarification thanks..
       
      ~ godbless you all..
×
×
  • Create New...