All server commands are already available to you, you don't have to register anything.
https://ddnet.tw/settingscommands/
All commands are listed here, use them in your rcon console.
you mean if you shoot right at the same time of getting frozen, then it actually shoot the weapon you have in hand. Otherwise, when frozen, it's just a visual indicator (you can disable it if you want in the options)