god arcanus
Arcanus
- Joined
- Jul 13, 2009
- Messages
- 14
- Reaction score
- 2
Create a file called "Widow Queen.lua" and copy this:
You can replace [doPlayerAddMount(cid, 1) for the mount id you want to get a different mount here is the list
Then "actions.xml" adds this:
This should be followed with the map editor to create a source as the image showing your ID is "6390" and add the uniqueid "2600" and that's it.
Now you can place sources in different locations (with varying uniqueid) around the map to go in search of your mount.
REP++
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 6390 then
local pPos = getPlayerPosition(cid)
doSendMagicEffect(pPos, 50)
doPlayerAddMount(cid, 1) <-- EDIT THIS FOR THE ID OF MOUNT THAT YOU WANT -->
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You Have Purchased The Widow Queen Mount!")
end
return TRUE
end
You can replace [doPlayerAddMount(cid, 1) for the mount id you want to get a different mount here is the list
XML:
<mounts>
<mount id="1" clientid="368" name="Widow Queen" speed="10" />
<mount id="2" clientid="369" name="Racing Bird" speed="20" />
<mount id="3" clientid="370" name="War Bear" speed="10" />
<mount id="4" clientid="371" name="Black Sheep" speed="10" />
<mount id="5" clientid="372" name="Midnight Panther" speed="15" />
<mount id="6" clientid="373" name="Draptor" speed="20" />
<mount id="7" clientid="374" name="Titanica" speed="15" />
<mount id="8" clientid="375" name="Tin Lizzard" speed="15" />
<mount id="9" clientid="376" name="Blazebringer" speed="20" />
<mount id="10" clientid="377" name="Rapid Boar" speed="10" />
<mount id="11" clientid="378" name="Stampor" speed="20" />
<mount id="12" clientid="379" name="Undead Cavebear" speed="20" />
</mounts>
Then "actions.xml" adds this:
XML:
<!-- Addons -->
<action uniqueid="2600" script="mounts/Widow Queen.lua"/>
This should be followed with the map editor to create a source as the image showing your ID is "6390" and add the uniqueid "2600" and that's it.
Now you can place sources in different locations (with varying uniqueid) around the map to go in search of your mount.
REP++
Last edited: