Checking ammo types?
Seem to be missing somthing?

if (entity.IsReloading() && entity.inventory.HasAmmo(weapon.primaryMagazine.ammoType)) 

Argument `#1' cannot convert `ItemDefinition' expression to type `Rust.AmmoTypes'​
Please, use IL decompiler to peek into game's code, it will reduce amount of questions like this. Obviously you can't convert ItemDefinition to enum
I did and figured it out thanks.
XD the word "Impossible"  in itself says: Im Possible
5c5ce186e573f.jpg SlyStone
XD the word "Impossible"  in itself says: Im Possible
Bro, r u high?
5ba0b9633e817.png?uid=5ba0b9716c220 2CHEVSKII
Bro, r u high?

I might be