AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   sending the value of a function to another plugin? (https://forums.alliedmods.net/showthread.php?t=12502)

lunarwolfx 04-17-2005 00:51

sending the value of a function to another plugin?
 
I know how to call a function, but is there a way to send the value of a function to another plugin?

v3x 04-17-2005 00:56

return PLUGIN_CONTINUE

XxAvalanchexX 04-17-2005 01:26

Re: sending the value of a function to another plugin?
 
Quote:

Originally Posted by lunarwolfx
I know how to call a function, but is there a way to send the value of a function to another plugin?

Elaboration!

twistedeuphoria 04-17-2005 02:04

This what you're looking for? -> http://www.amxmodx.org/funcwiki.php?...func&go=search

lunarwolfx 04-17-2005 02:21

okay

plugin 1:

public somefunction(id) {
send some value to plugin 2
}

plugin 2:

public somefunction2(id) {
uses value sent
}

Plugin 2 needs to receive from many different plugins, made by someone else that I don't know, so I can't just make a list of plugins to call.

XxAvalanchexX 04-17-2005 02:57

In that case, check out the functions in the list that euphoria posted.

lunarwolfx 04-17-2005 03:36

er but that would be plugin 2 calling information from plugin 1, and not plugin 1 sending information to plugin 2? Or am I missing something that everyone else can see?
edit: it was me, I found out what it means to push.


All times are GMT -4. The time now is 10:03.

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