AngeloFuturo
Scan QR for free money.
I recently added the Temple Teleport Script to my server.
However, I would like to add something. Note that I know NOTHING about LUA. I just need pure help from an experienced scripter.
Here is my script:
I would like to add this:
* The script can't be used IN BATTLE. Any kind of battle. Even just hunting battle.
... That's it. Can somebody be nice and just add the code to the script and post it here?
That would be awfully kind of you!
Thanks in advance guys
However, I would like to add something. Note that I know NOTHING about LUA. I just need pure help from an experienced scripter.
Here is my script:
local scroll = 6119
local temple = {x=160, y=50, z=7}
local level = 8
function onUse(cid, item, frompos, item2, topos)
if item.itemid == scroll and getPlayerLevel(cid) >= level then
doTeleportThing(cid, temple, TRUE)
doSendMagicEffect(temple,10)
doSendAnimatedText(temple, "TELEPORT", 5)
doRemoveItem(cid, item.uid, 1)
else
doPlayerSendCancel(cid, "Sorry, your level must higher than 8!")
end
return 1
end
I would like to add this:
* The script can't be used IN BATTLE. Any kind of battle. Even just hunting battle.
... That's it. Can somebody be nice and just add the code to the script and post it here?
That would be awfully kind of you!
Thanks in advance guys