Raised This Month: $ Target: $400
 0% 

Block E


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
jugule
AlliedModders Donor
Join Date: Apr 2020
Old 06-18-2020 , 06:15   Block E
Reply With Quote #1

Hi, I have a restriction on the E key to not be able to take weapons from the buttons, the phase is that I can't open any door, because I have the E key locked so as not to take weapons from the buttons. My question is, how can I block it so that it can no longer take weapons from the buttons, but go open doors? (CS: GO)

actual code in OnPlayerRunCmd

Code:
if(Test)
	{
		if (buttons & IN_USE)
		{
			buttons &= ~IN_USE;
		}
	}
/

Last edited by jugule; 06-18-2020 at 06:27.
jugule 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 19:09.


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