Originally Posted by the_reverend
** Admin commands to be used console **
sm_giveammo <target> - Fully reloads the targets ammo & clip
sm_givehealth <target> <amount> - Sets the targets health to the specified amount. (1-500)
sm_givemetal <target> <amount> - Sets the targeted Engi's metal to the specified amount. (1-200)
sm_giveuber <target> <amount> - Sets the targeted Medic's ubercharge meter to the specified amount. (1-100)
From reading the code, these commands are normal console cmds and theres no admin check so any player can run them.
Also, there are no ReplyToCommands when a command 'errors' eg returns Plugin_Handled on bad command parameters or invalid states and nothing appears to be logged to the sourcemod logs.
Also again, the sm_givehealth command does not use the class specific max health function you already have in there.