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

Action WardRobe ~ Veery GooD Sistemy

president vankk

Web Developer & AuraOT Owner
Joined
Jul 10, 2009
Messages
5,719
Solutions
9
Reaction score
339
Code:
Standard Post:
Author: Beon:thumbup:
Tested: TFS 0.3.5:wub:
Version: 8.5x:thumbup:
Comment: This is a script very cool and real ... and so you go in the closet and use and it will open your clothes:blink: /CODE]

Go to data / action / action.xml and add this:
[CODE]<action uniqueid="5600" event="script" value="Wardrobe.lua"/>

Then go to data / action / script and there you create a file. WardRobe.lua moon called ~ and puts it in the file

Code:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 1000 then
doPlayerSendOutfitWindow(cid)
end
end


REP ++ :p':thumbup:
 
Last edited:
Code:
[COLOR="YellowGreen"]function[COLOR="Black"] onUs[/COLOR]e(cid, item, frompos, item2, topos)
if item.u[COLOR="Black"]id[/COLOR] == 1000 then
doP[COLOR="Black"]layerSend[/COLOR]OutfitWindow(cid)
end
end[/COLOR]

Nice, but can be shorten:
Lua:
function onUse(cid, item, frompos, item2, topos)
	return item.uid == 1000 and doPlayerSendOutfitWindow(cid)
end
 
I think it wont work (loading > uniqueid="5600" and checking for item.uid == 1000)
and since u're using uid u dont need to check it .. so u can just..
return doPlayerSendOutfitWindow(cid)
 
hahaha rlly nice same as runescape "when u have own house" but in tibia == ROOOX!
 
return item.uid == 1000 and doPlayerSendOutfitWindow(cid)

Congrats retards, now close your browsers.

For all newbies: If you have other Item UID than 1000 you should change it in script. But why not just:
Code:
doPlayerSendOutfitWindow(cid)
return true

o_O?
 
Congrats retards, now close your browsers.

For all newbies: If you have other Item UID than 1000 you should change it in script. But why not just:
Code:
doPlayerSendOutfitWindow(cid)
return true

o_O?

becuase
Code:
return doPlayerSendOutfitWindow(cid)
is shorter. :D :D :D

// Idk why all write if item.uid == ... ;/
 
becuase
Code:
return doPlayerSendOutfitWindow(cid)
is shorter. :D :D :D

// Idk why all write if item.uid == ... ;/

Code:
function onUse(cid, item, frompos, item2, topos) doPlayerSendOutfitWindow(cid) end

@noobak:
Shorter -.-'
 
Back
Top