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: Adding magazines to vehicles?  (Read 1869 times)

0 Members and 1 Guest are viewing this topic.

swordfish

  • Guest
Adding magazines to vehicles?
« on: 24 Oct 2002, 21:35:08 »
Hi
I want to add magazines and weapons to a jeep im making, is this what you add.

weapons[]={"M4"};
magazines[]={"M4","M4","M4","M4"};

If this is right, where would i put it in the config.

Harnu

  • Guest
Re:Adding magazines to vehicles?
« Reply #1 on: 25 Oct 2002, 00:42:46 »
In the Init line of the jeep do

this addweaponcargo ["weaponname",amount]
this addmagazinecargo ["magazinename",amount]

edit:

aw crap, you mean your MAKING a jeep.  Like addon wise?  Or are you placing one in a map and just want weapons and ammo to be carried inside?
« Last Edit: 25 Oct 2002, 00:43:39 by Harnu »

swordfish

  • Guest
Re:Adding magazines to vehicles?
« Reply #2 on: 25 Oct 2002, 02:46:08 »
Hi
I accidently posted in the wrong board, because i wanted it for addon, but thats useful for just in the editor.

Skaven

  • Guest
Re:Adding magazines to vehicles?
« Reply #3 on: 25 Oct 2002, 12:58:01 »
Question anwsered on the previews Thread, so no need for two  ;)

Topic Locked