Suggest new command:
PHP Code:
RegAdminCmd("sm_incap", CmdIncap, ADMFLAG_ROOT, "Incapacitate the player.");
public Action CmdIncap(int client, int argc)
{
SetEntityHealth(client, 1);
SDKHooks_TakeDamage(client, client, client, 100.0, DMG_GENERIC);
return Plugin_Handled;
}
__________________