Thread: Including stuff
View Single Post
Afronanny
Veteran Member
Join Date: Aug 2009
Old 04-07-2010 , 21:01   Re: Including stuff
Reply With Quote #2

Quote:
Originally Posted by TerroriZe View Post
Hey ho, I got 3 quick and stupid questions:

1.) Whats the best way to include global variables from one plugin to another?
Is there a better way than ConVars?

2.) How to include global arrays from another file?

3.) Is there a way to use functions from other plugins?

Thx in advance
Create a native with your plugin to have it return whatever variable you want to access, and possibly change it depending on how you set up the native.
More information here:

http://wiki.alliedmods.net/Creating_...eMod_Scripting)
Afronanny is offline