Thread: [FoF] Whiskey
View Single Post
Author Message
Mosalar
Senior Member
Join Date: Jul 2004
Location: Tampa Fl
Old 03-15-2009 , 12:38   [FoF] Whiskey
Reply With Quote #1

Not many play Fistful of Frags, but in this mod you can choose whiskey as one of your weapons and heal your teammates with it. This plugin simply negates a player having to use the whiskey.
The majority of the code is based on the DoD Medic plugin that Tsunami wrote.


Cvars:

sm_whiskey_enabled / Enable/disable being able to use !whiskey. (Def 1)
sm_whiskey_amount / Amount of health to give when !whiskey is used. (Def 30)
sm_whiskey_count / Amount of times per life to be able to use !whiskey. (Def 2)
sm_whiskey_maximum / Maximum health left to be able to use !whiskey. (Def 30)

Changelog:
Ver 1.0 Initial release.
Ver 1.1 Added cfg support/autocreate cfg.
Ver 1.2 Added event logging for stats (ty psychonic)
Changed Plugin name

To be done: Auto subtract (x)notoriety on use.
Attached Files
File Type: sp Get Plugin or Get Source (fof_whiskey.sp - 1592 views - 3.7 KB)

Last edited by Mosalar; 05-12-2009 at 17:50.
Mosalar is offline