View Single Post
Author Message
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 07-09-2011 , 16:32   [Any] Set Start Health
Reply With Quote #1

Set Start Health

v. 1.0.1

Introduction/Features :

I realised recently (due to a request by BeaverKing first post on allied modders rofl) that there is no plugin dedicated to set health when round start / player spawn, so I made one.

The code to set health is based on the one made by MrBlip.

Known bugs :
  • Not any at the moment. Please report any.

CVars :
  • setstarthealthversion: Gives version -_-'
  • ----------
  • starthealth : Is plugin enabled ? 0=No, 1+ =Yes. 2=team 1 only. 3=team 2 only.
  • starthealth_value : Value to change health to. Minimum 1.
  • starthealth_type : Change health : 0 = On round start, 1 = On player spawn (Default).

--------------

Any suggestions/comments on the code or the plugin are welcomed and appreciated.

Changelog :
  • 1.0.0 Initial release. (09-07-2011)
  • 1.0.1 Now can use "starthealth_type 0" with TF2. (09-07-2011)

Todo list :
  • None at the moment.

Credits :
Other notes :
  • Works fully with Counter-Strike : Source.
  • Under TF2, life given over maximum will be given as buffed health.
  • This plugin, as many other SM plugin, creates its own config file.
Attached Files
File Type: sp Get Plugin or Get Source (setstarthealth.sp - 4031 views - 3.1 KB)
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 06-04-2015 at 07:01. Reason: rdy for review
RedSword is offline