View Single Post
Plugin Info:     Modification:          Category:          Approver:   Exolent[jNr] (178)
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 11-28-2008 , 12:59   Healthkit on dead body
Reply With Quote #1

Kit on body
by tuty

Description:

-
when a player dies, on his body will appear a health-kit. You can pick it up to restore your HP


Cvars:

-
kit_enable - 1 - plugin enabled, 0 - plugin disabled;
- kit_glow - 1 - enable the kit glow, white glow is more realistic / 0 - disable glow
- kit_fade - 1 - enable a red short screen fade when you take the kit, is cool try it
- kit_remove - 1- remove or not kit on round start? 1 - enabled / 0 - disabled
- kit_health - "20" - set here the life bonus when you pickup a kit
- kit_limit_health - "100" - set here the health limit. ( you must have less health than this cvar to take the kit )


Modules:

- fakemeta


Note:

- players with full HP can't take the kit also, the kit remain on ground
- when dead body dissapear, the kit remain on ground
- thanx to arkshine
- added itempickup effect
- fixed and optimized the code


Attached Files
File Type: sma Get Plugin or Get Source (kit_on_body.sma - 3711 views - 5.2 KB)
__________________

Last edited by tuty; 11-30-2015 at 13:09.
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty