president vankk
Web Developer & AuraOT Owner
- Joined
- Jul 10, 2009
- Messages
- 5,719
- Solutions
- 9
- Reaction score
- 339
in search i found the script:
and i need decrease the script and put in actionid not for itemid
and i need decrease the script and put in actionid not for itemid
LUA:
function onUse(cid, item, fromPosition, itemEx, topos)
local newPosition = {x = 2425, y = 956, z = 7}
if item.itemid == 3614 then
doTeleportThing(cid, newPosition, true)
doSendMagicEffect(fromPosition, CONST_ME_STUN)
doSendMagicEffect(newPosition, CONST_ME_STUN)
end
return true
end
Last edited: