AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Accessing Data/Arrays from another plugin (https://forums.alliedmods.net/showthread.php?t=19915)

Blackhawk 10-28-2005 09:55

Accessing Data/Arrays from another plugin
 
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?

BAILOPAN 10-28-2005 10:09

Use register_native to export API for changing the data.

Blackhawk 10-28-2005 10:53

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 :)

BAILOPAN 10-28-2005 11:25

No, because you cannot make arrays public.

Blackhawk 10-28-2005 12:48

Understood - thanks a lot!


All times are GMT -4. The time now is 23:49.

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