Saints Anathema
Old School Doleran
Code:
<?xml version="1.0" encoding="UTF-8"?>
<mounts>
<mount id="1" clientId="368" name="Widow Queen" speed="20" premium="yes" />
<mount id="2" clientId="369" name="Racing Bird" speed="40" premium="yes" />
<mount id="3" clientId="370" name="War Bear" speed="20" premium="yes" />
<mount id="4" clientId="371" name="Black Sheep" speed="20" premium="yes" />
<mount id="5" clientId="372" name="Midnight Panther" speed="30" premium="yes" />
<mount id="6" clientId="373" name="Draptor" speed="40" premium="yes" />
<mount id="7" clientId="374" name="Titanica" speed="30" premium="yes" />
<mount id="8" clientId="375" name="Tin Lizzard" speed="30" premium="yes" />
<mount id="9" clientId="376" name="Blazebringer" speed="40" premium="yes" />
<mount id="10" clientId="377" name="Rapid Boar" speed="40" premium="yes" />
<mount id="11" clientId="378" name="Stampor" speed="40" premium="yes" />
<mount id="12" clientId="379" name="Undead Cavebear" speed="40" premium="yes" />
<mount id="13" clientId="39" name="Dragon Lord" speed="40" premium="yes" />
<mount id="14" clientId="317" name="Young Sea Serpent" speed="40" premium="yes" />
</mounts>
Number 13 and 14 are newly added mounts, they show up on my GM no problem..
Code:
local doll_id = 12508
local mounts = {
['Widow Queen'] = 1,
['Racing Bird'] = 2,
['War Bear'] = 3,
['Black Sheep'] = 4,
['Midnight Panther'] = 5,
['Draptor'] = 6,
['Titanica'] = 7,
['Tin Lizzard'] = 8,
['Blazebringer'] = 9,
['Rapid Boar'] = 10,
['Stampor'] = 11,
['Undead Cavebear'] = 12
['Dragon Lord'] = 13
[Young Sea Serpent'] = 14
}
function onSay(cid, words, param, channel)
if not mounts[param] then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'There\'s no mount with the name '.. param ..'.')
return true
end
if canPlayerRideMount(cid, mounts[param]) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You already have this mount.')
else
if doPlayerRemoveItem(cid, doll_id, 1) then
doPlayerAddMount(cid, mounts[param])
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You don\'t have a mount crystal.')
end
end
return true
end
script doesnt work when i add in
['Dragon Lord'] = 13
[Young Sea Serpent'] = 14
but if i remove them people can use the talkaction just fine
rep+ to positive posts