ported cuz im bored and my damn plguins refuses to do what I want it to... and someone requested this..
http://forums.alliedmods.net/showthread.php?t=4398
Code:
/*
Repay v1.9 by SentryIII
<b>This plugin rewards health for headshots.
It takes the damage you do to others and uses that factor to get your health reward. </b>
*******************************************************************************
Ported By KingPin( <a href="mailto:[email protected]">[email protected]</a> ). I take no responsibility
for this file in any way. Use at your own risk. No warranties of any kind.
*******************************************************************************
ADMIN COMMANDS
==============
amx_repaypercent - Set Repay Percentage - Usage: amx_repaypercent <number>
say /repaylimit - Toggles Whether It Checks If Your Health Exceeds 100
say /repaysave - Toggles If It Saves Your Health Into Next Round.
say /repayshow - Toggles Whether Players can see how much Health Was rewarded to players for headshots.
USER COMMANDS
=============
say /repay - Shows Repay Plugin Info
say voterepaylimit - Starts A Vote To Enable/Disable Repay's Health Limit Check
say voterepaysave - Starts A Vote To Enable/Disable Repay's Save Health Feature
INSTALLATION
============
1. Compile sma to amx
2. Move repay.amx into addons/amxx/plugins
3. Add a line at the end of addons/amxx/plugins.ini to say:
repay.amx
4. Restart Server OR Change Map
5. Done
*/
#include <amxmodx>
#include <amxmisc>
#include <fun>