• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Mount Doll

Huhuh

Huhuh.eu
Joined
Jul 19, 2013
Messages
42
Reaction score
3
Hi there Otlanders, I am in need of a script that when you clicks on a doll, then you mount a mount (different mounts=different dolls), and so that you cant use it in safe zones, and that it grants speed bonus, like 20% ish) The client is 8.6
 
i think i can help but im not very sure

action.xml
<action itemid="xxxx" event="script" value="other/mount doll.lua"/>
choose the item id of your doll

make a lua file called mount doll and put this code in:
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if (item.itemid == XXXX) then
  if (not getPlayerMount(cid, 27)) and (isPremium(cid)) then
  doSendMagicEffect(getCreaturePosition(cid), 50)
  doPlayerAddMount(cid, 1)
  doPlayerAddMount(cid, 2)
  doPlayerAddMount(cid, 3)
  doPlayerAddMount(cid, 4)
  doPlayerAddMount(cid, 5)
  doPlayerAddMount(cid, 6)
  doPlayerAddMount(cid, 7)
  doPlayerAddMount(cid, 8)
  doPlayerAddMount(cid, 9)
  doPlayerAddMount(cid, 10)
  doPlayerAddMount(cid, 11)
  doPlayerAddMount(cid, 12)
  doPlayerAddMount(cid, 13)
  doPlayerAddMount(cid, 14)
  doPlayerAddMount(cid, 15)
  doPlayerAddMount(cid, 16)
  doPlayerAddMount(cid, 17)
  doPlayerAddMount(cid, 18)
  doPlayerAddMount(cid, 19)
  doPlayerAddMount(cid, 20)
  doPlayerAddMount(cid, 21)
  doPlayerAddMount(cid, 22)
  doPlayerAddMount(cid, 23)
  doPlayerAddMount(cid, 24)
  doPlayerAddMount(cid, 25)
  doPlayerAddMount(cid, 26)
  doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'Congratulations! Now You Have All Mounts!')
  else
  doPlayerSendCancel(cid, 'You already have these mounts!')
  end
end
return true
end

change XXXX to the item id as the actions.xml one
Hope i helped :)

these mounts are for version 9.1 so ... if your version is lower than 9.1 you shall see mounts.xml and check the last mountid then you remove the newer version mounts

and if you want every doll for 1 mount you can remove all mounts and leave 1 of them and make the same scripts but put the second mount , elc
 
Last edited by a moderator:
If you want to edit the client or add custom sprites, then people have to download your custom client while you will have a similar result as using an 8.7 client.
More easy way would just using 8.7 or higher client.

People who want to play 8.6 or lower often don't like the features of the higher clients like mounts.
 
Back
Top