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

Cannot add containers inside containers.

elnelson

Lunaria World Dev
Joined
Jun 20, 2009
Messages
583
Solutions
2
Reaction score
61
Location
México
Hello ,otlanders. i had an idea, but i dont know how to script it, im trying to avoid players put containers (as backpacks, corpses) inside another container.

Im using TFS 0.4
 
First check the corpse uid - then make script like this
  1. local corpse_uid = doAddContainerItem(corpse.uid, new_container_item_id, 1)
  2. doAddContainerItem(corpse_uid, item_id, count)
 
Back
Top