View Single Post
little_froy
Senior Member
Join Date: May 2021
Old 08-05-2021 , 20:14   Re: [L4D2] how to disable spray ?
Reply With Quote #3

Quote:
Originally Posted by shavit View Post
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;
}
is there ready made values list of impulse and buttons for every game ?

Last edited by little_froy; 08-05-2021 at 20:17.
little_froy is online now