• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Items disappear

Venn

Member
Joined
Aug 16, 2009
Messages
547
Reaction score
20
hello
how make that items will disappera after some time like 200 minutes
i want put some items to sms shop and want to that items will disappear after some time.

can some one tell me how to do that ?
 
duration doesn't work becous i need to do transfor on equpi...
and i mind if player buy item he got it and after 200 minuts (waring) it disappear
 
Hmm, As I remeber I did this:
items.xml
Code:
<attribute key="decayTo" value="0"/>
<attribute key="duration" value="600"/>
Try this if not work
add to movements.xml
Code:
<movevent type="Equip" itemid="xxxx" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="xxx" event="function" value="onDeEquipItem"/>
 
i got tfs 0.3.6pl1
so how to make it will got time to waring. will no disappear when are in bp ?
and in description will time to disappear shown
 
Back
Top