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

Outfit adding and removing.

richux

Tibera.org
Joined
Aug 18, 2008
Messages
3,666
Reaction score
26
Location
---------
Hello .lua pros! I want to remove such outfits as assassin, norseman etc. for pacc players. And I also want to learn add them for characters I want. How to do that? ;d

I already tried changing outfits.xml from:

Code:
<outfit id="13" premium="yes" default="0">
		<list gender="0" lookType="156" name="Assassin"/>
		<list gender="1" lookType="152" name="Assassin"/>
	</outfit>

to this:

Code:
<outfit id="13" premium="yes" default="-1">
		<list gender="0" lookType="156" name="Assassin"/>
		<list gender="1" lookType="152" name="Assassin"/>
	</outfit>

and it worked. No one had assassin outfit anymore. The problem is I don't know how to add them to a player. I tried:

Code:
doPlayerAddOutfit(cid, 156, 0)


plaxzors helpzors!
 
Ermm, I'm not sure, but if you want to add it to a certain player, just make a switch, which gives assassin outfit, and make only this player use it.. ;o
 
Back
Top