Raised This Month: $ Target: $400
 0% 

Block button use


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 11-23-2011 , 12:02   Block button use
Reply With Quote #1

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
__________________
My Projects:

Auto-Mix (Pug): 100%

Joined the Military (a soldier now) - Inactive
Diegorkable is offline
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 11-23-2011 , 12:14   Re: Block button use
Reply With Quote #2

func_rot_button and button_target are also buttons.
__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath is offline
MyPc
Senior Member
Join Date: Sep 2011
Old 11-24-2011 , 11:31   Re: Block button use
Reply With Quote #3

http://twhl.info/wiki.php?sub=1

search here everything that contains "button".
MyPc is offline
Reply


Thread Tools
Display Modes

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 08:31.


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