Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Quick question: MP arrays?  (Read 3291 times)

0 Members and 1 Guest are viewing this topic.

Offline DMarkwick

  • Contributing Member
  • **
  • I'm a llama!
Quick question: MP arrays?
« on: 04 Aug 2009, 23:57:36 »
Quick question that might save me a little shoeleather: can arrays be transmitted/accessed as MP global variables?

Offline i0n0s

  • Moderator
  • *****
Re: Quick question: MP arrays?
« Reply #1 on: 05 Aug 2009, 01:49:57 »
First:
There ain't such thing as "MP global variables". Variables can get synchronized via globalVariable, but they still global variables on each machine. But yes, arrays can get transmitted via globalVariable or setVariable [..., ..., true]

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Quick question: MP arrays?
« Reply #2 on: 24 Aug 2009, 17:26:57 »
I guess you mean publicVariable instead of globalVariable, right?

Offline i0n0s

  • Moderator
  • *****
Re: Quick question: MP arrays?
« Reply #3 on: 24 Aug 2009, 17:48:43 »
Right, typo :(