use offsets maybe...?
= price address + offset
something like this..
local t = gg.getResults(1)--price address found
local p = {}
p[1] = {}
p[1].address = t[1].address --price address
p[1].flags = gg.TYPE_DWORD --value type
p[1].value = 0--edit to your value
gg.setValues(p)
p[1].address = t[1].address + 0x4-- add offset for amount address below it.
p[1].flags = gg.TYPE_DWORD --value type
p[1].value = 999999--edit to your value
gg.setValues(p)
or
local t = gg.getResults(1)
gg.setValues({
{address = t[1].address,flags = gg.TYPE_DWORD,value = 0},
{address = t[1].address + 0x4,flags = gg.TYPE_DWORD,value = 999999} })