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

Mounts

Puncker

Member
Joined
Nov 29, 2008
Messages
170
Reaction score
6
Just wondering if there is a way i can make it so when you click a statue you get X mount and you can now use it, so people can obtain mounts from finding statues scattered across the map, Example, guy finds hand of cursed fate mount statue in a quest, he clicks the statue and can now use the hand of cursed fate mount. Any help would be greatly appreciated thanks :)
 
=> ACTIONS

Code:
function onUse(cid, item, frompos, item2, topos)

   if doPlayerAddMount(cid, 1) == TRUE then <-- EDIT THIS FOR THE ID OF MOUNT THAT YOU WANT -->
doPlayerSendTextMessage(cid,22,"You Recieved A New Mount!")
   end
   return true
end
 
Last edited:
Alright thanks! But how do i get the statue to work then so when i click it i get the mount, i am a little confused, do i add the id of the mount 2 the actionid of the statue so when i click it i get that mount or what?
 
Back
Top