Thread: No Fall Death
View Single Post
Plugin Info:     Modification:          Category:          Approver:   Exolent[jNr] (178)
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 11-30-2008 , 10:23   No Fall Death
Reply With Quote #1

No Fall Death
v1.0

Description: With this plugin on you server, you can block the damage done at falling from a high place. There are 3 options:
  • no damage at all
  • random health between a min value and player's hp
  • random health value and regenerate hp
Modules: Fakemeta & Hamsandwich

Cvars:
nfd_plugin
  • 0 - disabled
  • 1 - no damage
  • 2 - random health
  • 3 - random health & regenerate
(default 1)

nfd_interval - interval in seconds for regenerating hp (default 5)
ndf_amount - amount of health gived at every interval (default 3)

PHP Code:
#define RANDOM_MIN_VALUE    1.0 // - cvar set to 2 (hp gived)
#define REGENERATE_MIN_VALUE    1.0 // - cvar set to 3 (start hp) 
Attached Files
File Type: sma Get Plugin or Get Source (no_fall_death.sma - 4187 views - 2.4 KB)
__________________


Last edited by anakin_cstrike; 02-13-2009 at 11:01. Reason: Category changed to Gameplay from Fun Stuff
anakin_cstrike is offline