clothing.

ggblade

Member
Member
Aug 14, 2014
29
0
6
is there a way to "force" clothing on a person? i guess they can always take it off but maybe a way so specific ppl have can only wear a specfic head or somthing, for instance a bandit can only wear a cloth helmet, and the normal players cant wear a cloth helmet, to have somewhat of an indicator to other ppl if the person is a bandit or not
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,098
4,863
113
At your house.
github.com
is there a way to "force" clothing on a person? i guess they can always take it off but maybe a way so specific ppl have can only wear a specfic head or somthing, for instance a bandit can only wear a cloth helmet, and the normal players cant wear a cloth helmet, to have somewhat of an indicator to other ppl if the person is a bandit or not
JavaScript:
Player.Inventory.RemoveItem(36);
Player.Inventory.RemoveItem(37);
Player.Inventory.RemoveItem(38);   
Player.Inventory.RemoveItem(39);
Player.Inventory.AddItemTo("Kevlar Helmet", 36, 1);
Player.Inventory.AddItemTo("Kevlar Vest", 37, 1);
Player.Inventory.AddItemTo("Kevlar Pants", 38, 1);
Player.Inventory.AddItemTo("Kevlar Boots", 39, 1);
 

ggblade

Member
Member
Aug 14, 2014
29
0
6
yeah but then they can just take it off, i mean like a certain person CANT wear certain items, like it would automaticly remove it
 

Viproz

Moderator
Moderator
Aug 12, 2014
39
9
8
France
yeah but then they can just take it off, i mean like a certain person CANT wear certain items, like it would automaticly remove it
There is no event for it in my knowledge, you'll need to check with a timer in my opinion
 

ggblade

Member
Member
Aug 14, 2014
29
0
6
its what i thought, dont think in fougerite or magma theres a event on it, the game itself only has a sound that plays when putting on somthing