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");
__________________