Na Amigo
The crazy girl
i've this script but it's only working at 8.1 but i don't know why it's not working at tfs 0.3.7_svn the idea of this script it's melting the frozen wall with action id, of the wall and if you pass from it the wall appear again
Code:
<talkaction words="melt" script="melt.lua" />
Code:
function onSay(cid, words, param)
apos = getPlayerPosition(cid)
ppos = {x=apos.x, y=apos.y-1, z=apos.z, stackpos=1}
tpos = getThingfromPos(ppos)
if tpos.actionid == 2765 then
doSendMagicEffect(ppos, 5)
doPlayerSay(cid, "EXORI FLAM", 25)
doPlayerSendTextMessage(cid, 25, "Success")
doRemoveItem(tpos.uid, 1)
else
doSendMagicEffect(apos, 15)
doPlayerSendTextMessage(cid, 25, "Failed.")
return true
end
end
Last edited: