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: take weapon  (Read 1511 times)

0 Members and 1 Guest are viewing this topic.

Offline sharkattack

  • Former Staff
  • ****
take weapon
« on: 29 Dec 2008, 11:15:09 »
im  trying to have freed prisoners rearm themselves but  cant seem to find the correct command
in  ofp  is was something  along the lines of 
captive action ["Take Weapon",box,0,0,"AK47"]

is there a similar set up for arma ?

many thanks in advance   :)
"HOLY SARDINE" - see Shark-Attack meet his match

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: take weapon
« Reply #1 on: 29 Dec 2008, 12:55:48 »
Code: [Select]
unitname action ["TAKEWEAPON", (vehiclename or unitname or ammoboxname), "WEAPONNAME"]

Make sure you put the correct class of the weapon there.

Offline sharkattack

  • Former Staff
  • ****
Re: take weapon
« Reply #2 on: 29 Dec 2008, 13:15:51 »
thanks mate ..
works a treat    :)  (AK74)
"HOLY SARDINE" - see Shark-Attack meet his match