president vankk
Web Developer & AuraOT Owner
- Joined
- Jul 10, 2009
- Messages
- 5,719
- Solutions
- 9
- Reaction score
- 339
I have a script that you use the item in and go to one place,
and I want to boot him in action id, as would? (I AM VERY NOOB IN SCRIPT
)
script:
and I want to boot him in action id, as would? (I AM VERY NOOB IN SCRIPT
script:
LUA:
function onUse(cid, item, fromPosition, itemEx, topos)
local newPosition = {x = 924, y = 1363, z = 7}
if item.itemid == 3613 then -- delete this line?
doTeleportThing(cid, newPosition, true)
doSendMagicEffect(fromPosition, CONST_ME_STUN)
doSendMagicEffect(newPosition, CONST_ME_STUN)
end
return true
end