Oneda
Aspiring Spriter
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local player = Player(cid)
doPlayerPopupFYI(cid, "You created a steelbeak mount, it consumed one royal steel piece.")
if not player:hasMount(34) then
player:addMount(34)
player:getPosition():sendMagicEffect(CONST_ME_MAGIC_GREEN)
doPlayerPopupFYI(cid, "You created a steelbeak mount, it consumed one royal steel piece.")
else
player:sendCancelMessage("You already have this mount")
end
return true
end
Well, the problem here is that the script above isnt adding the mount, no errors on console or anything. (Steelbeak mount ID btw)
TFS 1.1