View Single Post
Arg!
Veteran Member
Join Date: Jul 2008
Location: Australia
Old 09-09-2008 , 20:42   Re: TF2 Weapons Locker OnTheGo
Reply With Quote #7

Quote:
Originally Posted by the_reverend View Post
** 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.
__________________

Last edited by Arg!; 09-09-2008 at 20:50.
Arg! is offline