View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-26-2022 , 08:06   Re: [ANY] Dev Cmds (1.31) [14-Dec-2021]
Reply With Quote #101

Suggest new command:

PHP Code:
RegAdminCmd("sm_incap",            CmdIncap,        ADMFLAG_ROOT"Incapacitate the player.");

public 
Action CmdIncap(int clientint argc)
{
    
SetEntityHealth(client1);
    
SDKHooks_TakeDamage(clientclientclient100.0DMG_GENERIC);
    return 
Plugin_Handled;

__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 01-26-2022 at 08:06.
Dragokas is offline