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

Need Plugin [Water Damage/Hp Loss]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 05-30-2017 , 17:24   Need Plugin [Water Damage/Hp Loss]
Reply With Quote #1

When someone moves into water like in afk_6killer, the player starts losing hp after number of seconds [cvar based].

cvars:
damage_water "50" [Damage After [cvar: secs_in_water]]
secs_in_water "3" [Number Of Seconds In Water, After Players Starts Losing Hp, Every Second]

With Every Second I mean [Examples]:
For suppose secs_in_water "3" and damage_water "50" than first hp loss is after 3 secs = 50 than second after 1 sec =50 [Total= 100 hp loss]
For suppose secs_in_water "3" and damage_water "25" than first hp loss is after 3 secs = 25 than second after 1 sec =25 [Total= 50 hp loss]. third after another 1 sec= 25 [Total= 75 hp loss], fourth after another 1 sec= 25 [Total= 100 hp loss].
Alber9091 is offline
Reply


Thread Tools
Display Modes

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 06:03.


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