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

Script addons 2.+ for 3.6 + ( easy rep u ++ ) plx help

Discovery

Developing myself
Joined
Apr 16, 2010
Messages
561
Solutions
11
Reaction score
262
Location
Neverland
Hello friends OTLand.

I'm having a problem with my scripts.
I use version 0.2.9 and I like this script addons.

But he is only compatible with version 0.3.6 +,
As if I'd moved to the variables that had compatibility?


function onUse(cid, item, frompos, item2, topos)

if item.uid == 12001 then
if (getPlayerStorageValue(cid,12010) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Hunter Outfit!")
doPlayerAddOutfitId(cid,2,3)
setPlayerStorageValue(cid,12010,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Hunter Outfit.")
end

elseif item.uid == 12002 then
if (getPlayerStorageValue(cid,12011) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Mage Outfit!")
doPlayerAddOutfitId(cid,3,3)
setPlayerStorageValue(cid,12011,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Mage Outfit.")
end

elseif item.uid == 12003 then
if (getPlayerStorageValue(cid,12012) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Knight Outfit!")
doPlayerAddOutfitId(cid,4,3)
setPlayerStorageValue(cid,12012,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Knight Outfit.")
end


elseif item.uid == 12004 then
if (getPlayerStorageValue(cid,12013) == -1) and getPlayerSex(cid) == 1 then
doPlayerSendTextMessage(cid,21,"You now have the Nobleman Outfit!")
doPlayerAddOutfitId(cid,5,3)
setPlayerStorageValue(cid,12013,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else if(getPlayerStorageValue(cid,12013) == -1) and getPlayerSex(cid) == 0 then
doPlayerSendTextMessage(cid,21,"You now have the Noblewoman Outfit!")
doPlayerAddOutfitId(cid,5,3)
setPlayerStorageValue(cid,12013,1)
else
doPlayerSendTextMessage(cid,25,"You Already have this outfit.")
end
end


elseif item.uid == 12005 then
if (getPlayerStorageValue(cid,12014) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Summoner Outfit!")
doPlayerAddOutfitId(cid,6,3)
setPlayerStorageValue(cid,12014,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Summoner Outfit.")
end

elseif item.uid == 12006 then
if (getPlayerStorageValue(cid,12015) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Warrior Outfit!")
doPlayerAddOutfitId(cid,7,3)
setPlayerStorageValue(cid,12015,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Warrior Outfit.")
end

elseif item.uid == 12007 then
if (getPlayerStorageValue(cid,12016) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Barbarian Outfit!")
doPlayerAddOutfitId(cid,8,3)
setPlayerStorageValue(cid,12016,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Barbarian Outfit.")
end

elseif item.uid == 12008 then
if (getPlayerStorageValue(cid,12017) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Druid Outfit!")
doPlayerAddOutfitId(cid,9,3)
setPlayerStorageValue(cid,12017,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Druid Outfit.")
end

elseif item.uid == 12009 then
if (getPlayerStorageValue(cid,12018) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Wizard Outfit!")
doPlayerAddOutfitId(cid,10,3)
setPlayerStorageValue(cid,12018,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Wizard Outfit.")
end

elseif item.uid == 12010 then
if (getPlayerStorageValue(cid,12019) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Oriental Outfit!")
doPlayerAddOutfitId(cid,11,3)
setPlayerStorageValue(cid,12019,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Oriental Outfit.")
end

elseif item.uid == 12011 then
if (getPlayerStorageValue(cid,12020) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Pirate Outfit!")
doPlayerAddOutfitId(cid,12,3)
setPlayerStorageValue(cid,12020,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Pirate Outfit.")
end

elseif item.uid == 12012 then
if (getPlayerStorageValue(cid,12021) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Assassin Outfit!")
doPlayerAddOutfitId(cid,13,3)
setPlayerStorageValue(cid,12021,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Assassin Outfit.")
end

elseif item.uid == 12013 then
if (getPlayerStorageValue(cid,12022) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Beggar Outfit!")
doPlayerAddOutfitId(cid,14,3)
setPlayerStorageValue(cid,12022,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Beggar Outfit.")
end

elseif item.uid == 12014 then
if (getPlayerStorageValue(cid,12023) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Shaman Outfit!")
doPlayerAddOutfitId(cid,15,3)
setPlayerStorageValue(cid,12023,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Shaman Outfit.")
end

elseif item.uid == 12015 then
if (getPlayerStorageValue(cid,12024) == -1) and getPlayerSex(cid) == 1 then
doPlayerSendTextMessage(cid,21,"You now have the Norseman Addons!")
doPlayerAddOutfitId(cid,16,3)
setPlayerStorageValue(cid,12024,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else if(getPlayerStorageValue(cid,12024) == -1) and getPlayerSex(cid) == 0 then
doPlayerSendTextMessage(cid,21,"You now have the Norsewoman Addons!")
doPlayerAddOutfitId(cid,16,3)
setPlayerStorageValue(cid,12024,1)
else
doPlayerSendTextMessage(cid,25,"You Already have this outfit.")
end
end


elseif item.uid == 12016 then
if (getPlayerStorageValue(cid,12025) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Nightmare Outfit!")
doPlayerAddOutfitId(cid,17,3)
setPlayerStorageValue(cid,12025,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Nightmare Outfit.")
end

elseif item.uid == 12017 then
if (getPlayerStorageValue(cid,12026) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Jester Outfit!")
doPlayerAddOutfitId(cid,18,3)
setPlayerStorageValue(cid,12026,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Jester Outfit.")
end

elseif item.uid == 12018 then
if (getPlayerStorageValue(cid,12027) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Brotherhood Outfit!")
doPlayerAddOutfitId(cid,19,3)
setPlayerStorageValue(cid,12027,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Brotherhood Outfit.")
end

elseif item.uid == 12019 then
if (getPlayerStorageValue(cid,12028) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Demonhunter Outfit!")
doPlayerAddOutfitId(cid,20,3)
setPlayerStorageValue(cid,12028,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Demonhunter Outfit.")
end

elseif item.uid == 12020 then
if (getPlayerStorageValue(cid,12029) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Yalahari Outfit!")
doPlayerAddOutfitId(cid,21,3)
setPlayerStorageValue(cid,12029,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Yalahari Outfit.")
end

end
return TRUE
end

Tranks very much OTLand Community!
 
Lua:
function onUse(cid, item, frompos, item2, topos)

if item.uid == 12001 then
if (getPlayerStorageValue(cid,12010) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Hunter Outfit!")
doPlayerAddOutfitId(cid,2,3)
setPlayerStorageValue(cid,12010,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Hunter Outfit.")
end

elseif item.uid == 12002 then
if (getPlayerStorageValue(cid,12011) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Mage Outfit!")
doPlayerAddOutfitId(cid,3,3)
setPlayerStorageValue(cid,12011,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Mage Outfit.")
end

elseif item.uid == 12003 then
if (getPlayerStorageValue(cid,12012) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Knight Outfit!")
doPlayerAddOutfitId(cid,4,3)
setPlayerStorageValue(cid,12012,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Knight Outfit.")
end


elseif item.uid == 12004 then
if (getPlayerStorageValue(cid,12013) == -1) and getPlayerSex(cid) == 1 then
doPlayerSendTextMessage(cid,21,"You now have the Nobleman Outfit!")
doPlayerAddOutfitId(cid,5,3)
setPlayerStorageValue(cid,12013,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else if(getPlayerStorageValue(cid,12013) == -1) and getPlayerSex(cid) == 0 then
doPlayerSendTextMessage(cid,21,"You now have the Noblewoman Outfit!")
doPlayerAddOutfitId(cid,5,3)
setPlayerStorageValue(cid,12013,1)
else
doPlayerSendTextMessage(cid,25,"You Already have this outfit.")
end
end


elseif item.uid == 12005 then
if (getPlayerStorageValue(cid,12014) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Summoner Outfit!")
doPlayerAddOutfitId(cid,6,3)
setPlayerStorageValue(cid,12014,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Summoner Outfit.")
end

elseif item.uid == 12006 then
if (getPlayerStorageValue(cid,12015) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Warrior Outfit!")
doPlayerAddOutfitId(cid,7,3)
setPlayerStorageValue(cid,12015,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Warrior Outfit.")
end

elseif item.uid == 12007 then
if (getPlayerStorageValue(cid,12016) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Barbarian Outfit!")
doPlayerAddOutfitId(cid,8,3)
setPlayerStorageValue(cid,12016,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Barbarian Outfit.")
end

elseif item.uid == 12008 then
if (getPlayerStorageValue(cid,12017) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Druid Outfit!")
doPlayerAddOutfitId(cid,9,3)
setPlayerStorageValue(cid,12017,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Druid Outfit.")
end

elseif item.uid == 12009 then
if (getPlayerStorageValue(cid,12018) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Wizard Outfit!")
doPlayerAddOutfitId(cid,10,3)
setPlayerStorageValue(cid,12018,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Wizard Outfit.")
end

elseif item.uid == 12010 then
if (getPlayerStorageValue(cid,12019) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Oriental Outfit!")
doPlayerAddOutfitId(cid,11,3)
setPlayerStorageValue(cid,12019,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Oriental Outfit.")
end

elseif item.uid == 12011 then
if (getPlayerStorageValue(cid,12020) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Pirate Outfit!")
doPlayerAddOutfitId(cid,12,3)
setPlayerStorageValue(cid,12020,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Pirate Outfit.")
end

elseif item.uid == 12012 then
if (getPlayerStorageValue(cid,12021) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Assassin Outfit!")
doPlayerAddOutfitId(cid,13,3)
setPlayerStorageValue(cid,12021,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Assassin Outfit.")
end

elseif item.uid == 12013 then
if (getPlayerStorageValue(cid,12022) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Beggar Outfit!")
doPlayerAddOutfitId(cid,14,3)
setPlayerStorageValue(cid,12022,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Beggar Outfit.")
end

elseif item.uid == 12014 then
if (getPlayerStorageValue(cid,12023) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Shaman Outfit!")
doPlayerAddOutfitId(cid,15,3)
setPlayerStorageValue(cid,12023,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Shaman Outfit.")
end

elseif item.uid == 12015 then
if (getPlayerStorageValue(cid,12024) == -1) and getPlayerSex(cid) == 1 then
doPlayerSendTextMessage(cid,21,"You now have the Norseman Addons!")
doPlayerAddOutfitId(cid,16,3)
setPlayerStorageValue(cid,12024,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else if(getPlayerStorageValue(cid,12024) == -1) and getPlayerSex(cid) == 0 then
doPlayerSendTextMessage(cid,21,"You now have the Norsewoman Addons!")
doPlayerAddOutfitId(cid,16,3)
setPlayerStorageValue(cid,12024,1)
else
doPlayerSendTextMessage(cid,25,"You Already have this outfit.")
end
end


elseif item.uid == 12016 then
if (getPlayerStorageValue(cid,12025) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Nightmare Outfit!")
doPlayerAddOutfitId(cid,17,3)
setPlayerStorageValue(cid,12025,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Nightmare Outfit.")
end

elseif item.uid == 12017 then
if (getPlayerStorageValue(cid,12026) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Jester Outfit!")
doPlayerAddOutfitId(cid,18,3)
setPlayerStorageValue(cid,12026,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Jester Outfit.")
end

elseif item.uid == 12018 then
if (getPlayerStorageValue(cid,12027) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Brotherhood Outfit!")
doPlayerAddOutfitId(cid,19,3)
setPlayerStorageValue(cid,12027,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Brotherhood Outfit.")
end

elseif item.uid == 12019 then
if (getPlayerStorageValue(cid,12028) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Demonhunter Outfit!")
doPlayerAddOutfitId(cid,20,3)
setPlayerStorageValue(cid,12028,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Demonhunter Outfit.")
end

elseif item.uid == 12020 then
if (getPlayerStorageValue(cid,12029) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Yalahari Outfit!")
doPlayerAddOutfitId(cid,21,3)
setPlayerStorageValue(cid,12029,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Yalahari Outfit.")
end

end
return TRUE
end
 
Lua:
function onUse(cid, item, frompos, item2, topos)

if item.uid == 12001 then
if (getPlayerStorageValue(cid,12010) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Hunter Outfit!")
doPlayerAddOutfitId(cid,2,3)
setPlayerStorageValue(cid,12010,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Hunter Outfit.")
end

elseif item.uid == 12002 then
if (getPlayerStorageValue(cid,12011) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Mage Outfit!")
doPlayerAddOutfitId(cid,3,3)
setPlayerStorageValue(cid,12011,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Mage Outfit.")
end

elseif item.uid == 12003 then
if (getPlayerStorageValue(cid,12012) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Knight Outfit!")
doPlayerAddOutfitId(cid,4,3)
setPlayerStorageValue(cid,12012,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Knight Outfit.")
end


elseif item.uid == 12004 then
if (getPlayerStorageValue(cid,12013) == -1) and getPlayerSex(cid) == 1 then
doPlayerSendTextMessage(cid,21,"You now have the Nobleman Outfit!")
doPlayerAddOutfitId(cid,5,3)
setPlayerStorageValue(cid,12013,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else if(getPlayerStorageValue(cid,12013) == -1) and getPlayerSex(cid) == 0 then
doPlayerSendTextMessage(cid,21,"You now have the Noblewoman Outfit!")
doPlayerAddOutfitId(cid,5,3)
setPlayerStorageValue(cid,12013,1)
else
doPlayerSendTextMessage(cid,25,"You Already have this outfit.")
end
end


elseif item.uid == 12005 then
if (getPlayerStorageValue(cid,12014) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Summoner Outfit!")
doPlayerAddOutfitId(cid,6,3)
setPlayerStorageValue(cid,12014,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Summoner Outfit.")
end

elseif item.uid == 12006 then
if (getPlayerStorageValue(cid,12015) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Warrior Outfit!")
doPlayerAddOutfitId(cid,7,3)
setPlayerStorageValue(cid,12015,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Warrior Outfit.")
end

elseif item.uid == 12007 then
if (getPlayerStorageValue(cid,12016) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Barbarian Outfit!")
doPlayerAddOutfitId(cid,8,3)
setPlayerStorageValue(cid,12016,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Barbarian Outfit.")
end

elseif item.uid == 12008 then
if (getPlayerStorageValue(cid,12017) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Druid Outfit!")
doPlayerAddOutfitId(cid,9,3)
setPlayerStorageValue(cid,12017,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Druid Outfit.")
end

elseif item.uid == 12009 then
if (getPlayerStorageValue(cid,12018) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Wizard Outfit!")
doPlayerAddOutfitId(cid,10,3)
setPlayerStorageValue(cid,12018,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Wizard Outfit.")
end

elseif item.uid == 12010 then
if (getPlayerStorageValue(cid,12019) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Oriental Outfit!")
doPlayerAddOutfitId(cid,11,3)
setPlayerStorageValue(cid,12019,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Oriental Outfit.")
end

elseif item.uid == 12011 then
if (getPlayerStorageValue(cid,12020) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Pirate Outfit!")
doPlayerAddOutfitId(cid,12,3)
setPlayerStorageValue(cid,12020,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Pirate Outfit.")
end

elseif item.uid == 12012 then
if (getPlayerStorageValue(cid,12021) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Assassin Outfit!")
doPlayerAddOutfitId(cid,13,3)
setPlayerStorageValue(cid,12021,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Assassin Outfit.")
end

elseif item.uid == 12013 then
if (getPlayerStorageValue(cid,12022) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Beggar Outfit!")
doPlayerAddOutfitId(cid,14,3)
setPlayerStorageValue(cid,12022,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Beggar Outfit.")
end

elseif item.uid == 12014 then
if (getPlayerStorageValue(cid,12023) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Shaman Outfit!")
doPlayerAddOutfitId(cid,15,3)
setPlayerStorageValue(cid,12023,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Shaman Outfit.")
end

elseif item.uid == 12015 then
if (getPlayerStorageValue(cid,12024) == -1) and getPlayerSex(cid) == 1 then
doPlayerSendTextMessage(cid,21,"You now have the Norseman Addons!")
doPlayerAddOutfitId(cid,16,3)
setPlayerStorageValue(cid,12024,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else if(getPlayerStorageValue(cid,12024) == -1) and getPlayerSex(cid) == 0 then
doPlayerSendTextMessage(cid,21,"You now have the Norsewoman Addons!")
doPlayerAddOutfitId(cid,16,3)
setPlayerStorageValue(cid,12024,1)
else
doPlayerSendTextMessage(cid,25,"You Already have this outfit.")
end
end


elseif item.uid == 12016 then
if (getPlayerStorageValue(cid,12025) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Nightmare Outfit!")
doPlayerAddOutfitId(cid,17,3)
setPlayerStorageValue(cid,12025,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Nightmare Outfit.")
end

elseif item.uid == 12017 then
if (getPlayerStorageValue(cid,12026) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Jester Outfit!")
doPlayerAddOutfitId(cid,18,3)
setPlayerStorageValue(cid,12026,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Jester Outfit.")
end

elseif item.uid == 12018 then
if (getPlayerStorageValue(cid,12027) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Brotherhood Outfit!")
doPlayerAddOutfitId(cid,19,3)
setPlayerStorageValue(cid,12027,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Brotherhood Outfit.")
end

elseif item.uid == 12019 then
if (getPlayerStorageValue(cid,12028) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Demonhunter Outfit!")
doPlayerAddOutfitId(cid,20,3)
setPlayerStorageValue(cid,12028,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Demonhunter Outfit.")
end

elseif item.uid == 12020 then
if (getPlayerStorageValue(cid,12029) == -1) then
doPlayerSendTextMessage(cid,21,"You now have the Yalahari Outfit!")
doPlayerAddOutfitId(cid,21,3)
setPlayerStorageValue(cid,12029,1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doPlayerSendTextMessage(cid,25,"You Already have the Yalahari Outfit.")
end

end
return TRUE
end

That's the same script he just wrote, using the same 0.3.x functions.. ???
 
Back
Top Bottom