Thread: DoD Medic
View Single Post
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 05-08-2008 , 06:52   Re: DoD Medic
Reply With Quote #10

Well, I figured I'd clean this plugin up a bit and add the requested features. It will now trigger when you trigger the voice_medic command, and it has support for multiple health kits per life. The cvars are:

sm_dodmedic_enabled 1 (Enable/disable being able to use !medic.)
sm_dodmedic_amount 40 (Amount of health to give when !medic is used.)
sm_dodmedic_count 1 (Amount of times per life to be able to use !medic.)
sm_dodmedic_maximum 30 (Maximum health left to be able to use !medic.)
Attached Files
File Type: sp Get Plugin or Get Source (dod_medic.sp - 3300 views - 2.8 KB)
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline