AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [CS:GO] Function open door (https://forums.alliedmods.net/showthread.php?t=259467)

Screeaam.. 03-07-2015 09:55

[CS:GO] Function open door
 
I have function under +use (Button E). Is any way to check when player click E for open doors and block my function?

alexip121093 03-07-2015 10:01

Re: [CS:GO] Function open door
 
https://forums.alliedmods.net/showpo...87&postcount=2

just use sdkhook on the prop_door_rotating and then return Plugin_Handled to block +USE;
https://forums.alliedmods.net/showpo...36&postcount=2

Screeaam.. 03-07-2015 11:13

Re: [CS:GO] Function open door
 
Okey, but I need to hook not only door but when on map is any button which need to press E. How to do this?


All times are GMT -4. The time now is 15:13.

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