Thread: Block +use
View Single Post
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 10-26-2020 , 11:55   Re: Block +use
Reply With Quote #3

You can try this one too (also untested)

PHP Code:
public Action OnPlayerRunCmd(int clientint &buttonsint &impulsefloat vel[3], float angles[3], int &weapon)
{
    if (
buttons IN_USE)
    {
        
buttons &= ~IN_USE;
        return 
Plugin_Changed;
    }

    return 
Plugin_Continue;

__________________

Last edited by Marttt; 10-26-2020 at 11:55.
Marttt is offline