77fox11 sorry you are right, these commands can be only used if you want to change primary secondary weapon to another gun if you are server administrator, so I was wrong.
Here is working solution that I tested.
1. Join any HvH server, using cmd
2.
Before you are going to spawn, or
during time where you are dead press
ESC key
3. There will be text
INVENTORY
4. Look for revolver and change it to default gun instead of deagle
Here I'm alive, thus I can't access inventory
Here I'm dead, thus I can access inventory and swap guns
As you can see it is working