............hi
............my script easy
first it's for tfs 0.3.6 and [8.54]
open data/actions/tp1.lua addfile=tp1
it's so easy
now go data/actions/action.xml
now say /i id of item when do this say on item /attr action 70
or in map click x2 and write actionid= 70
now you have the script :thumbup: good luck
bye cya
............my script easy
first it's for tfs 0.3.6 and [8.54]
open data/actions/tp1.lua addfile=tp1
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local newPos = {x=1000, y=1000, z=7}
doTeleportThing(cid, newPos)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HEARTS)
return true
end
now go data/actions/action.xml
Code:
<action actionid="70" script="other/volue.lua" />
or in map click x2 and write actionid= 70
now you have the script :thumbup: good luck
bye cya
Last edited: