- Supported Games
- CS: Source (v34), Team-Fortress 2
- Sets a player, an entire team, or everyone's health to the specified amount.
I looked and looked and couldn't find a plugin that sets a players health to a specified amount in a manner that I wanted it to. The closest thing I could find was one that was buried in the 'Super Admin' plugin, but it seemed messy and didn't work as I wanted it to (for example, @T and @CT actually targeted all). So, with the help of bl4nk, I set forth on a journey on how to create my own plugins and this is what I came up with.
Cvars:
- sm_sethealth_version = 1.0
- sm_sethealth <#userid|name> <amount>
- EX: sm_sethealth @all 500
Logging (forgot all about it until just now)Checking for negative numbers (not sure what effect this will have on the plugin)- Possibly include a 'silent' command? (for those sneaky admins)