hi otland!
Here is my problem,
i want to add a value to a table, but it does not work...
the table.insert(piece, #piece,{x = 525, y = 270, z = 7})
do not work :/
here is a part of my script
REP + + + + + + + IF YOU HELP ME OUT
Here is my problem,
i want to add a value to a table, but it does not work...
the table.insert(piece, #piece,{x = 525, y = 270, z = 7})
do not work :/
here is a part of my script
Code:
if item.actionid == 20011 and getspoi >= 10000 then
do1 = getTileItemById(door.d1[1], 1547)
do2 = getTileItemById(door.d1[2], 1547)
setPlayerStorageValue(cid, 20022, (getspoi - 10000))
doRemoveItem(do1.uid, 1)
doRemoveItem(do2.uid, 1)
table.insert(piece, #piece,{x = 525, y = 270, z = 7})
table.insert(piece, #piece,{x = 527, y = 264, z = 7})
table.insert(piece, #piece,{x = 534, y = 264, z = 7})
end
REP + + + + + + + IF YOU HELP ME OUT