AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Block button use (https://forums.alliedmods.net/showthread.php?t=172609)

Diegorkable 11-23-2011 12:02

Block button use
 
Hey guys

To block a button in my plugin I use this:

PHP Code:

RegisterHam(Ham_Use"func_button""use_trap"

But, I noticed on few maps that buttons can still be used even after that (on most of the maps it blocks it good, but there are maps where you can still activate buttons). My question is, is there any other type of buttons different than "func_button" that I can register incase it exists in another map?

Example of a map: deathrun_onstyle

Xellath 11-23-2011 12:14

Re: Block button use
 
func_rot_button and button_target are also buttons.

MyPc 11-24-2011 11:31

Re: Block button use
 
http://twhl.info/wiki.php?sub=1

search here everything that contains "button".


All times are GMT -4. The time now is 08:31.

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