Giter Site home page Giter Site logo

hns-fall-damage's Introduction

[CSGO-CSS] HNS Fall Damage (1.0.2)

https://forums.alliedmods.net/showthread.php?t=340920

Fall Damage Print + Health Regeneration Fall Damage + God Mode Timer

alt text

alt text

.:[ ConVars ]:.

//=========================[ Enable/Disable Plugin ]====================================================

// Enable [CSGO-CSS] HNS Fall Damage Plugin?
// 1= Yes
// 0= No
hns_d_enable_plugin "1"

//===============================[ Settings ]===========================================================

// Enable Regenerate Fall Damage Only
// 1= Yes
// 0= No
hns_d_enable_regen "1"

// if [hns_d_enable_regen 1] Stop Regenerate Fall Damage If Player Got Stabbed?
// 1= Yes
// 0= No (Means Regenerate Health Until Hit Old Health + Knife Damage Ignored)
hns_d_regen_stop "1"

// if [hns_d_enable_regen 1] How Much HP To Give
hns_d_regen_hp "1"

// if [hns_d_regen_hp x] How Many (in sec) To Give HP
hns_d_regen_time "2.0"

// How Much Percent Give HP Regenerate Back
// 3= 1/3 Means One third
// 2= 1/2 Means Half Of it
// 1= Means All Of it
hns_d_regen_per "1"

//===============================[ Misc ]===========================================================

// Enable God Mode For (T) Team
// 2= Yes On Every Spawn Only
// 1= Yes On Every Round Start Only
// 0= No
hns_d_enable_godmode "1"

// if [hns_d_enable_godmode 1 or 2] Give God Mode To (CT) Team Also?
// 1= Yes
// 0= No
hns_d_godmode_ct "0"

// if [hns_d_enable_godmode 1 or 2] For How Many (in Secs) God Mode Should Be On
hns_d_godmode_time "10.0"

//==============================[ Colors / Transparent ]============================================

// Enable Transparent Who God Mode On?
// 1= Yes
// 0= No
hns_d_enable_transparent "1"

// if [hns_d_enable_transparent 1] How Much Transparent On God Mode
// 0= Invisible
// 120= Transparent
// 255=None
hns_d_transparent "120"


//******************************************************************************************************
//*																									   *
//*											[ N O T E ]												   *
//*	To Make Default Color Put These [hns_d_color_r "255"] [hns_d_color_g "255"] [hns_d_color_b "255"]  *
//*																									   *
//******************************************************************************************************

// Body *Red* Code Color Pick Here https://www.rapidtables.com/web/color/RGB_Color.html
hns_d_color_r "255"

// Body *Green* Code Color  Pick Here https://www.rapidtables.com/web/color/RGB_Color.html
hns_d_color_g "0"

// Body *Blue* Code Color  Pick Here https://www.rapidtables.com/web/color/RGB_Color.html
hns_d_color_b "0"

//=======================[ Messages / Chat ]======================================================

// Send Private Message To Players Who Got GodMode?
// 1= Yes
// 0= No
hns_d_enable_notify_god "1"

// Send Announced Message To All Who Got Fall Damage
// 2= Yes Without Hp Left
// 1= Yes With Hp Left
// 0= No Disable Announcer
hns_d_enable_notify "1"

//===============================================================================================

.:[ Change Log ]:.

(1.0.2)
-Fix Bug
-Rework Regen Health To Avoid Overlap
-Rework GodMode Health To Avoid Overlap
-Added hns_d_regen_stop Stop Regenerate Fall Damage If Player Got Stabbed
-Added hns_d_enable_transparent Enable Transparent Who God Mode On
-Added hns_d_transparent How Much Transparent On God Mode
-Added Colors On Models To GodMode [hns_d_color_r, hns_d_color_g, hns_d_color_b]

(1.0.1)
-Fix Bug
-Fix Invalid timer handle 0
-Fix Client 1 is not in game
-Fix Invalid token ' ' in #format property on line 21 + 27
-Fix Regenerate keep on on start round or respawn
-Added hns_d_enable_notify Print Hp Or Without  2= Without HP || 1= With Hp || 0= No
-Added hns_d_regen_per Percent Give HP Regenerate

(1.0.0)
-Initial Release

.:[ Donation ]:.

If this project help you reduce time to develop, you can give me a cup of coffee :)

paypal

hns-fall-damage's People

Contributors

oqyh avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.