DieselJC 196 Posted March 1, 2015 Looking for a script for a server that will force a player to actually wear a uniform ...too many times people are running around with no clothes to try and lighten their load to offset the stamina and I'd like to force a uniform on them if they don't pick one...don't know if this is possible but thought I'd ask. :) Diesel Share this post Link to post Share on other sites
sxp2high 23 Posted March 1, 2015 player addEventHandler ["InventoryClosed", { if ((uniform player) == "") then { player forceAddUniform "U_B_CombatUniform_mcam"; }; }]; This would check each time the player closes his inventory, then add the uniform, if needed. If this is just for one mission, you add that line into your init.sqf or initPlayerLocal.sqf. If you want this for ALL missions you would have to make a serverside pbo, I can show you how, let me know. Share this post Link to post Share on other sites
DieselJC 196 Posted March 1, 2015 Thanks for the reply..its just for one mission at the moment but I'll keep this thread in mind if it ends up as more..much appreciated for the info! Diesel Share this post Link to post Share on other sites
Phantomll 10 Posted March 3, 2015 This will be extremely useful. Now to limit this to specific uniform classes. P.S: hey Diesel buddy. Share this post Link to post Share on other sites