Hello, i have succsefully added the function onMove to my creatureevents.
That is the function: http://otland.net/f35/creatureevent-onmove-very-advanced-134016/
And i have make this script anti-clon item...
The question it's: This cause lag?
Thanks!
That is the function: http://otland.net/f35/creatureevent-onmove-very-advanced-134016/
And i have make this script anti-clon item...
The question it's: This cause lag?
LUA:
function onMoveItem(moveItem, frompos, position, cid)
if cid and isPlayer(cid) then
doSavePlayer(cid)
end
return true
end
function onTradeAccept(cid, target, item)
doSavePlayer(cid)
doSavePlayer(target)
return true
end
Thanks!