AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Button Usage (https://forums.alliedmods.net/showthread.php?t=134162)

GXLZPGX 08-01-2010 14:37

Button Usage
 
Alright, I know half of allied mods hates jailbreak, but I for one love it. And I am creating a custom jailbreak for a friend, I would like to know how to detect if someone opens the cells.

RedRobster 08-01-2010 14:44

Re: Button Usage
 
I am not entirely sure in this method, but I don't see why it wouldn't work. Look at wrecked's Auto Cell Opener plugin and see how he finds the button. Then, use that method to find the button and store it, then check when someone pushes a button and see if it matches.

GXLZPGX 08-01-2010 14:47

Re: Button Usage
 
Quote:

Originally Posted by RedRobster (Post 1258484)
I am not entirely sure in this method, but I don't see why it wouldn't work. Look at wrecked's Auto Cell Opener plugin and see how he finds the button. Then, use that method to find the button and store it, then check when someone pushes a button and see if it matches.

Sounds good. I should have been smart enough to do that in the first place, thank you.

joropito 08-02-2010 09:18

Re: Button Usage
 
Check this out

http://forums.alliedmods.net/showthread.php?t=123437

And you also can get code from my jailbreak extreme plugin to check how to detect multiple cell buttons


All times are GMT -4. The time now is 00:18.

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