Installation:
Extract it to your servuo custom script folder, then
In PlayerMobile.cs find the method OnWarmodeChanged() and add into it the line: AutoSheatheWeapon.From(this);
This is not mine, credits are all on the code

Weapon Auto Sheater 1.2
Sheathes or unsheathes player's weapon based on their war mode.