Raised This Month: $ Target: $400
 0% 

sending the value of a function to another plugin?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lunarwolfx
Member
Join Date: Feb 2005
Old 04-17-2005 , 00:51   sending the value of a function to another plugin?
Reply With Quote #1

I know how to call a function, but is there a way to send the value of a function to another plugin?
lunarwolfx is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-17-2005 , 00:56  
Reply With Quote #2

return PLUGIN_CONTINUE
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 04-17-2005 , 01:26   Re: sending the value of a function to another plugin?
Reply With Quote #3

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!
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 04-17-2005 , 02:04  
Reply With Quote #4

This what you're looking for? -> http://www.amxmodx.org/funcwiki.php?...func&go=search
__________________
twistedeuphoria is offline
lunarwolfx
Member
Join Date: Feb 2005
Old 04-17-2005 , 02:21  
Reply With Quote #5

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.
lunarwolfx is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 04-17-2005 , 02:57  
Reply With Quote #6

In that case, check out the functions in the list that euphoria posted.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
lunarwolfx
Member
Join Date: Feb 2005
Old 04-17-2005 , 03:36  
Reply With Quote #7

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.
lunarwolfx is offline
Reply


Thread Tools
Display Modes

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 10:03.


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