Mostly working/// Current known problem is bullets not hurting animals.
Rust update fix
Should fix mybot taking damage from players while targeting something Bug
Fixed kits not working correctly for adding cooldown and usage to player.. Make shure to download latest kits posted today on umod... Added config option to disable kits.
Fix for kit for authlevel perm and hidden.
Added attack distance to config default is 9.0
Damage fix for truepve
Options added for what inventory is locked/unlocked in config. Locked inventory will not switch to corpse on death. if Allow to target other players is false mybot should not take damage from other players.
Added in kit option to chat command so when kits adds the hook it will work. or you can manually add to Kits.cs Just after #region API Code: [HookMethod("SetKitUsage")] public bool SetKitUsage(BasePlayer player, string name) { KitData.Kit kit; if (!kitData.Find(name, out kit)) return false; OnKitReceived(player, kit); return true; }
[HookMethod("SetKitUsage")] public bool SetKitUsage(BasePlayer player, string name) { KitData.Kit kit; if (!kitData.Find(name, out kit)) return false; OnKitReceived(player, kit); return true; }
null check to userMessage