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: How to add multiple magazines to the unit?  (Read 4120 times)

0 Members and 1 Guest are viewing this topic.

Offline tateyou

  • Members
  • *
How to add multiple magazines to the unit?
« on: 01 Jun 2008, 12:03:23 »
the syntax,for example "this addMagazine "30Rnd_556x45_StanagSD " can only add one magazine to the unit,how can i add multiple magazines?
i tried "this addMagazine ["30Rnd_556x45_StanagSD",5]" ,and it doesn't work that way, what's the correct or appropriate syntax? help me!

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: How to add multiple magazines to the unit?
« Reply #1 on: 01 Jun 2008, 12:10:20 »
Code: [Select]
this addMagazine "30Rnd_556x45_StanagSD;this addMagazine "30Rnd_556x45_StanagSD;this addMagazine "30Rnd_556x45_StanagSD;this addMagazine "30Rnd_556x45_StanagSD;this addMagazine "30Rnd_556x45_StanagSD

Offline tateyou

  • Members
  • *
Re: How to add multiple magazines to the unit?
« Reply #2 on: 01 Jun 2008, 12:23:15 »
There is no other way? Simple way?

Offline Rommel92

  • Members
  • *
Re: How to add multiple magazines to the unit?
« Reply #3 on: 01 Jun 2008, 12:56:39 »
ADD THE MAGAZINE 8 TIMES:

Code: [Select]
{this addMagazine "30Rnd_556x45_StanagSD;} forEach [0,0,0,0,0,0,0,0];(Suitable for INIT Lines)
Code: [Select]
for "_i" from 0 to 7 do {this addMagazine "30Rnd_556x45_StanagSD;};(Unsure about suitability.)
 :P
« Last Edit: 01 Jun 2008, 12:58:27 by Rommel92 »