Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- action.xml -->
- <action fromaid="50099" toaid="50105" event="script" value="orewagon/cart.lua"/>
- <!-- orewagon.lua -->
- local action_id = {
- [50099] = {teleport = {32577, y = 31977, z = 9}},
- [50100] = {},
- [50101] = {},
- [50102] = {},
- [50103] = {},
- [50104] = {},
- [50104] = {},
- }
- function onUse(cid, item, frompos, item2, topos)
- local action = action_id[item.aid]
- if action then
- doTeleportThing(cid, action.teleport)
- doSendMagicEffect(topos, 10)
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement