Raised This Month: $ Target: $400
 0% 

How can i connect an array from one plugin to another?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-23-2011 , 22:55   Re: How can i connect an array from one plugin to another?
Reply With Quote #1

Quote:
Originally Posted by Nyuszy View Post
you can't use xvars with arrays
You should have shown an example of a native that uses arrays.
__________________
fysiks is online now
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-23-2011 , 23:33   Re: How can i connect an array from one plugin to another?
Reply With Quote #2

Quote:
Originally Posted by fysiks View Post
You should have shown an example of a native that uses arrays.
His example is using arrays.
He is indexing the array and returning it's value, not copying the array to the plugin.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-24-2011 , 00:13   Re: How can i connect an array from one plugin to another?
Reply With Quote #3

Quote:
Originally Posted by Exolent[jNr] View Post
His example is using arrays.
He is indexing the array and returning it's value, not copying the array to the plugin.
Oh, you're correct. I was thinking passing an array byref which would be incorrect in this situation.
__________________
fysiks is online now
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-24-2011 , 01:46   Re: How can i connect an array from one plugin to another?
Reply With Quote #4

http://www.amxmodx.org/funcwiki.php?...rray&go=search
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply



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 23:24.


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