Elgenady
Veteran OT User
- Joined
- Aug 5, 2011
- Messages
- 1,638
- Solutions
- 35
- Reaction score
- 352
first go to date/action/scripts
and make new lua addons
u can edite this line for any items and amount u need
and add this in action.xml
and change outfit.xml from xml folder
outfit.xml
opem monster folder and make new folder call outfit and add download this files
and now opem monster.xml and add this
sorry for my bad english
and make new lua addons
Code:
local t = {
--[ACTIONID] = {FEMALEID, MALEID, "OUTFITNAME"}
[8001] = {136, 128, "citizen"},
[8002] = {137, 129, "hunter"},
[8003] = {138, 130, "mage"},
[8004] = {139, 131, "knight"},
[8005] = {140, 132, "nobleman"},
[8006] = {141, 133, "summoner"},
[8007] = {142, 134, "warrior"},
[8008] = {147, 143, "barbarian"},
[8009] = {148, 144, "druid"},
[8010] = {149, 145, "wizard"},
[8011] = {150, 146, "oriental"},
[8012] = {155, 151, "pirate"},
[8013] = {156, 152, "assassin"},
[8014] = {157, 153, "beggar"},
[8015] = {158, 154, "shaman"},
[8016] = {252, 251, "norseman"},
[8017] = {269, 268, "nightmare"},
[8018] = {270, 273, "jester"},
[8019] = {279, 278, "brotherhood"},
[8020] = {288, 289, "demonhunter"},
[8021] = {324, 325, "yalaharian"},
[8022] = {336, 335, "warmaster"},
[8023] = {366, 367, "wayfarer"}
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
local v = t[item.actionid]
local k = getPlayerSex(cid) == 0 and v[1] or v[2]
local msg = {"You\'ve already obtained the "..v[3].." addons!", "You don't have any Bufary coins.", "Congratulations, you\'ve obtained the "..v[3].." addons!"}
if canPlayerWearOutfit(cid, k, 3) then
return doPlayerSendCancel(cid, msg[1]), doSendMagicEffect(getThingPos(cid), CONST_ME_POFF), false
end
if getPlayerItemCount(cid, 9970) < 15 then
return doPlayerSendCancel(cid, msg[2]), doSendMagicEffect(getThingPos(cid), CONST_ME_POFF), false
end
doPlayerAddOutfit(cid, k, 3)
doPlayerRemoveItem(cid, 9970, 15)
doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[3])
return true
end
Code:
(cid, 9970) < 15 then
and add this in action.xml
Code:
<!-- addons -->
<action actionid="8001" event="script" value="addons.lua" />
<action actionid="8002" event="script" value="addons.lua" />
<action actionid="8003" event="script" value="addons.lua" />
<action actionid="8004" event="script" value="addons.lua" />
<action actionid="8005" event="script" value="addons.lua" />
<action actionid="8006" event="script" value="addons.lua" />
<action actionid="8007" event="script" value="addons.lua" />
<action actionid="8008" event="script" value="addons.lua" />
<action actionid="8009" event="script" value="addons.lua" />
<action actionid="8010" event="script" value="addons.lua" />
<action actionid="8011" event="script" value="addons.lua" />
<action actionid="8012" event="script" value="addons.lua" />
<action actionid="8013" event="script" value="addons.lua" />
<action actionid="8014" event="script" value="addons.lua" />
<action actionid="8015" event="script" value="addons.lua" />
<action actionid="8016" event="script" value="addons.lua" />
<action actionid="8017" event="script" value="addons.lua" />
<action actionid="8018" event="script" value="addons.lua" />
<action actionid="8019" event="script" value="addons.lua" />
<action actionid="8020" event="script" value="addons.lua" />
<action actionid="8021" event="script" value="addons.lua" />
<action actionid="8022" event="script" value="addons.lua" />
<action actionid="8023" event="script" value="addons.lua" />
outfit.xml
and u can add it if u need
opem monster folder and make new folder call outfit and add download this files
and now opem monster.xml and add this
Code:
<!-- outfit -->
<monster name="Citizen" file="outfit/Citizen.xml"/>
<monster name="Knight" file="outfit/knight.xml"/>
<monster name="Hunter" file="outfit/hunter.xml"/>
<monster name="Mage" file="outfit/mage.xml"/>
<monster name="Barbarian" file="outfit/Barbarian.xml"/>
<monster name="Druid" file="outfit/druid.xml"/>
<monster name="Summoner" file="outfit/Summoner.xml"/>
<monster name="Warrior" file="outfit/Warrior.xml"/>
<monster name="Nobleman" file="outfit/Nobleman.xml"/>
<monster name="Wizard" file="outfit/Wizard.xml"/>
<monster name="Oriental" file="outfit/Oriental.xml"/>
<monster name="Pirate" file="outfit/Pirate.xml"/>
<monster name="Assassin" file="outfit/Assassin.xml"/>
<monster name="Beggar" file="outfit/Beggar.xml"/>
<monster name="Shaman" file="outfit/Shaman.xml"/>
<monster name="Norseman" file="outfit/Norseman.xml"/>
<monster name="Nightmare Outfit" file="outfit/Nightmare Outfit.xml"/>
<monster name="Jester" file="outfit/Jester.xml"/>
<monster name="Brotherhood" file="outfit/Brotherhood.xml"/>
<monster name="Demonhunter" file="outfit/Demonhunter.xml"/>
<monster name="Yalaharian" file="outfit/Yalaharian.xml"/>
<monster name="Warmaster" file="outfit/Warmaster.xml"/>
<monster name="Wayfarer" file="outfit/Wayfarer.xml"/>
![jKhRHBCGJ.png](/proxy.php?image=http%3A%2F%2F2.ii.gl%2FjKhRHBCGJ.png&hash=f0e2269a9d296680a1f50658ece75d28)
u can make this script with monster outfit toohttp://www.speedy*****malware.localhost/tMPA3/outfit.rar
sorry for my bad english
Last edited: