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

Mount System

Mithos

New Member
Joined
Sep 8, 2008
Messages
56
Reaction score
2
hello, i was searching for a mount system when you click on a lever u get your mount for a price (donated coins) who can help my
 
Code:
function onUse(cid, item, frompos, item2, topos)
if item.uid == UID then
if getPlayerStorageValue(cid,373) == -1 or getPlayerStorageValue(cid,373) == 0 then
doPlayerSendTextMessage(cid,19,"Now you can mount id 6")
item_uid = doPlayerAddMount(cid, 6) -- or any mount id
setPlayerStorageValue(cid,373,1)

else
doPlayerSendTextMessage(cid,19,"You already has this mount!")
end
else
return 0
end
return 1
end

Not tested but give it a try :D
 
Last edited:
Back
Top