Raised This Month: $ Target: $400
 0% 

How to monitor another plugins bool value


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rambomst
SourceMod Donor
Join Date: Nov 2009
Location: Sydney, Australia
Old 08-01-2011 , 20:40   How to monitor another plugins bool value
Reply With Quote #1

Is it possible to monitor the value of a bool in another plugin. So what I basically want to do it to have my plugin watch this other plugins bool value and when it changes from False to True it executes some code but I don't want my code mixed in with the other plugins.
__________________
rambomst is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 08-02-2011 , 02:42   Re: How to monitor another plugins bool value
Reply With Quote #2

global forwards avoid 'mixing' code directly but still requires you to change the other plugin. http://wiki.alliedmods.net/Function_...lobal_Forwards
__________________
databomb is offline
Reply



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:35.


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