MaR0
Banned User
- Joined
- Apr 16, 2018
- Messages
- 272
- Solutions
- 3
- Reaction score
- 29
Hello i face this problem while playing at my server when i use the door to pass it, it transform to other things but dunno why this and if you clicked on it it transform too another things? here is gif to explain more
Screen capture - 2ce6e5880b4e96053cfbbc626b41e362 - Gyazo
and here is the script
using tfs 0.3.7_svn 8.60
Screen capture - 2ce6e5880b4e96053cfbbc626b41e362 - Gyazo
and here is the script
Code:
<action actionid="49000" event="script" value="bizmo.lua" />
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerLevel(cid) >= 1000 then
doTransformItem(item.uid, item.itemid + 1)
doTeleportThing(cid, toPosition)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You need to be level 1000 or higher.")
end
return true
end