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

[Request] New Outfit

president vankk

Web Developer & AuraOT Owner
Joined
Jul 10, 2009
Messages
5,719
Solutions
9
Reaction score
339
I want a script like this:
If you played in ArchezOT know what I'm talking about.
system chest:
You pull a shoveller and you get a new outfit.
Not understand? : You pull the shoveller and gain a new outfit.


rep+
 
function onUse(cid, item, fromPosition, itemEx, toPosition)

if (getPlayerStorageValue(cid, 9812) == -1) then
for i = 1, #maleOutfits do
doPlayerAddOutfit(cid, maleOutfits, 3)
end
for i = 1, #femaleOutfits do
doPlayerAddOutfit(cid, femaleOutfits, 3)
end
setPlayerStorageValue(cid, 9182, 1)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have found a all addons.")
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "The chest is empty.")
end

return TRUE
end

mmm
 
Back
Top