Raised This Month: $ Target: $400
 0% 

Block +use


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode