Raised This Month: $ Target: $400
 0% 

Accessing Data/Arrays from another plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Blackhawk
Member
Join Date: Apr 2005
Old 10-28-2005 , 09:55   Accessing Data/Arrays from another plugin
Reply With Quote #1

Is there any direct way know to access data stored in another plugin, let's say in an array?

I have statistical data in one plugin, and want to change some of these data from another plugin.

Possible?
__________________
Outpost 104 - last hope for teamplay
Blackhawk is offline
BAILOPAN
Join Date: Jan 2004
Old 10-28-2005 , 10:09  
Reply With Quote #2

Use register_native to export API for changing the data.
__________________
egg
BAILOPAN is offline
Blackhawk
Member
Join Date: Apr 2005
Old 10-28-2005 , 10:53  
Reply With Quote #3

Ok, i can make a function in plugin #1 that can be called from plugin #2. That's understood.
But there is no direct way of accessing data from plugin #1 in #2?

Guess that would be to easy for me
__________________
Outpost 104 - last hope for teamplay
Blackhawk is offline
BAILOPAN
Join Date: Jan 2004
Old 10-28-2005 , 11:25  
Reply With Quote #4

No, because you cannot make arrays public.
__________________
egg
BAILOPAN is offline
Blackhawk
Member
Join Date: Apr 2005
Old 10-28-2005 , 12:48  
Reply With Quote #5

Understood - thanks a lot!
__________________
Outpost 104 - last hope for teamplay
Blackhawk 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 23:49.


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