G4BB3R
New Member
- Joined
- Jul 23, 2010
- Messages
- 80
- Reaction score
- 4
Hello...
I need a way to set a storage value for a item that is created in the ground...
Just an example:
other problem:
I indexed the table lol.storage1[ getitem.uid ] = 20 --( getitem.uid == 161
but in the time i'll check again, the index and uid changed ._. its very strange D:
getitem.uid now is == 162 or other increased number
The uid changes, and I dont know why ;/
ps.: every time i check the uid using getThingfromPos..
ideas ?
thank you
I need a way to set a storage value for a item that is created in the ground...
Just an example:
Code:
local bomb = A_COOL_STONE_ID_OR_SOMETHING_LOL
local biriba = doCreateItem(bomb, 1, getPlayerPosition(cid))
doItemSetAttribute(biriba, "storage1", 29)
doItemSetAttribute(biriba, "storage2", 34)
-- how i'll do it ? and whats the function that show the item atributes ?
other problem:
I indexed the table lol.storage1[ getitem.uid ] = 20 --( getitem.uid == 161
but in the time i'll check again, the index and uid changed ._. its very strange D:
getitem.uid now is == 162 or other increased number
The uid changes, and I dont know why ;/
ps.: every time i check the uid using getThingfromPos..
ideas ?
thank you