Raised This Month: $32 Target: $400
 8% 

[Any] Set Start Health


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Plugin ID:
2433
Plugin Version:
1.0.1
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    7 
    Plugin Description:
    Set health of a player when he spawns or when round starts
    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 - 4022 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
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 23:19.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode