• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Hello! I schare mount System Quest. Please Help ME.

rexgandi

Member
Joined
Oct 22, 2011
Messages
189
Reaction score
9
Welcome.
It needs to mount quest.
Simply put quests Box and entered such ActionID or UniqueID.
When you press the Chosen Mount get.
Thanks in advance and please help me.
 
Welcome.
It needs to mount quest.
Simply put quests Box and entered such ActionID or UniqueID.
When you press the Chosen Mount get.
Thanks in advance and please help me.

You mean that when you click on a chest it gives you a mount? thats what you are looking for?
 
Lua:
local mount = 
{
    [2161] = 1,
    [2162] = 2,
    [2163] = 3,
    [2164] = 4,
    [2165] = 5,
    [2166] = 6,
    [2167] = 7,
    [2168] = 8,
    [2169] = 9,
    [2170] = 10,
    [2171] = 11,
    [2172] = 12
}
 
function onUse(cid, item, frompos, item2, topos)
    queststatus = getPlayerMount(cid, mount[item.uid])
    if queststatus <= 0 then
        doPlayerSendTextMessage(cid, 19, "Now you can mount id " .. mount[item.uid] .. ".")
        doPlayerAddMount(cid, mount[item.uid])
    else
        doPlayerSendTextMessage(cid,19,"You already have this mount!")
    end
    return true
end
 
[2/11/2012 21:7:54] [Error - Action Interface]
[2/11/2012 21:7:54] data/actions/scripts/mounts/mount.lua:eek:nUse
[2/11/2012 21:7:54] Description:
[2/11/2012 21:7:54] data/actions/scripts/mounts/mount.lua:23: attempt to compare boolean with number
[2/11/2012 21:7:54] stack traceback:
[2/11/2012 21:7:54] data/actions/scripts/mounts/mount.lua:23: in function <data/actions/scripts/mounts/mount.lua:21>

- - - Updated - - -

You mean that when you click on a chest it gives you a mount? thats what you are looking for?

Yes :)
 
Last edited:
Back
Top