• 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!

Obtain mount by clicking use on item (Mystic Spirit)

Nightimarez

New Member
Joined
Jul 24, 2008
Messages
287
Reaction score
2
So I found this script using search, but it doesn't support the latest mystic spirit.

PHP:
function onUse(cid, item, fromPosition, itemEx, toPosition)
        if item.itemid == 6390 then
            local pPos = getPlayerPosition(cid)
            doSendMagicEffect(pPos, 50)
                doPlayerAddMount(cid, 123)
                        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You found the Panda Mount!")
        end
        return TRUE
end
 
maybe you haven't properly registered it?
maybe the item you're using isn't 6390?
maybe there isn't a mount with id 123 (check mounts.xml)?
 
<mount id="1" clientid="123" name="Panda" speed="20" />
<action uniqueid="2600" script="mounts/panda.lua"/>

I have everything setup right.
 
Back
Top