Hello Otlanders,
Today i will Share my First Script Hope You Like it.!
{Lets Start}
Create An Lua File And Paste this Script on it! With name (Outfit)
_\/_
Add this Line to Your Actions.xml
Goto Your Server/Data/Xml/Outfit.xml And Add this!
This outfit For elf arcanist
Hope You like My Script
Sorry for my bad english :S
Rep++ If i helped You
Today i will Share my First Script Hope You Like it.!
{Lets Start}
Create An Lua File And Paste this Script on it! With name (Outfit)
PHP:
---Script CreaTed By Worgen---
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerStorage (cid, 235235) <1 then
doPlayerAddOutfit (63, 1)
doCreatureSay (cid, "You have Gained Your New Outfit! ", TALKTYPE_GREEN_1)
setPlayerStorageValue(cid, 235235, 1)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYDAMAGE)
else
doPlayerSendTextMessage(cid,22,"You have already gained your new outfit.")
end
return true
end
_\/_
Add this Line to Your Actions.xml
PHP:
<action itemid="2110" script="outfit.lua"/>
Goto Your Server/Data/Xml/Outfit.xml And Add this!
PHP:
<outfit id="28" premium="yes">
<list gender="0" lookType="63" name="Worgen"/>
This outfit For elf arcanist
Hope You like My Script
Sorry for my bad english :S
Rep++ If i helped You
Last edited: