Hello,
I wonder on tfs 0.2 latest, there is a function to do this?
Thanks in advice!
I wonder on tfs 0.2 latest, there is a function to do this?
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local mountid = 1
if getPlayerMount(cid, mountid) then
doPlayerMount(cid,mountid) --When player use the item, they will directly mount it. Instead of right-click and mount
else
doPlayerSendTextMessage(cid,22, "Sorry, but you dont have this mount.")
end
return true
end
Thanks in advice!
Last edited: