View Single Post
Author Message
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 01-29-2014 , 11:22   Slap for fraction of HP
Reply With Quote #1

I'm wondering is it possible to slap for fraction of target player HP? I want to make a plugin with autoslap punishment, which would take away 1/3 or 1/2 of player's HP.

Code:
{
			decl String:sName[64];
			GetClientName(target, sName, sizeof(sName));
			ServerCommand("sm_slap %s 1/3");
__________________
Wilczek is offline