AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Getting another Variables Value (https://forums.alliedmods.net/showthread.php?t=24469)

mysticssjgoku4 02-24-2006 01:09

Getting another Variables Value
 
I've asked this question before, and It just seems sloppy to use natives to return the current value of just 1 variable between two plugins.

How can I exactly achieve this, resourcefully?

I want to pull a string or integer value from a specific variable(s) from one plugin and use them in another.

Do I really have to use call_func's and native return scripts?
:(

Twilight Suzuka 02-24-2006 01:17

There are many ways, five in particular:

Call funcs - call a function directly
FakeNatives - Callback function
Public Variables - Call a variable directly
Array module - call a data structure directly
Outsource - get through a callback of another type.

mysticssjgoku4 02-24-2006 01:23

Where can I find very detailed information about these particular ways of doing this?

Twilight Suzuka 02-24-2006 01:25

The wiki should tell you some of them. I could give you a basic layout if you wish.


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

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