whitevo
Feeling good, thats what I do.
Cannot find working method for changing item unique ID
I am using TFS 1.0 Client 10.41
here is my latest test.. I tried lot of different lines, none of them work, some give errors, some nothing. Anyone knows what is the correct method?
I am using TFS 1.0 Client 10.41
PHP:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.uid == 1003 then
local p = {x=527,y=768,z=8} -- TP coordinates
doTeleportThing(cid,p)
doItemSetAttribute(uid, 1004)
elseif item.uid == 1004 then
local p = {x=527,y=768,z=9} -- TP coordinates
doTeleportThing(cid,p)
doItemSetAttribute(uid, 1003)
else
return false
end
end
here is my latest test.. I tried lot of different lines, none of them work, some give errors, some nothing. Anyone knows what is the correct method?