Thread: Block +use
View Single Post
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 10-26-2020 , 08:21   Re: Block +use
Reply With Quote #2

Code:
public Action OnClientCommand(int client, int args)
{
	char sCommand[32];
	GetCmdArg(0, sCommand, sizeof(sCommand));
	
	if (StrEqual(sCommand, "+use", false))
		return Plugin_Stop;
	
	return Plugin_Continue;
}
May or may not work, untested.
Drixevel is offline