View Single Post
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 08-05-2021 , 14:49   Re: [L4D2] how to disable spray ?
Reply With Quote #2

Code:
#define PAINT_DECAL 201

public Action OnPlayerRunCmd(int client, int &buttons, int &impulse)
{
	if(impulse == PAINT_DECAL)
	{
		impulse = 0;

		return Plugin_Changed;
	}

	return Plugin_Continue;
}
__________________
retired
shavit is offline