Home   Help Search Login Register  

Author Topic: Ammo vehicles  (Read 684 times)

0 Members and 1 Guest are viewing this topic.

screamingeagle_101

  • Guest
Ammo vehicles
« on: 13 Dec 2002, 17:53:04 »
How do you add weapons and magazines to vehicles, so the player or unit could rearm at the vehicle.

Offline Sentinel

  • Contributing Member
  • **
  • World is tough and I'm tougher!!
Re:Ammo vehicles
« Reply #1 on: 13 Dec 2002, 18:11:54 »
VehicleName addweaponcargo [WeaponName,Amount]

VehicleName is the name of the vehicle (this fits too)
WeaponName is name of the weapon in quotes eg. "m16" or "svddragunov"
Amount is how many you want to put in vehicle of you wanted objects.

For magazines change addweaponcargo to addmagazinecargo. Use same commands than in addweaponcargo.
Sometimes magazine name differs from weapon name eg "tokarev" and "tokarevmag". Try adding mag in the end.

screamingeagle_101

  • Guest
Re:Ammo vehicles
« Reply #2 on: 15 Dec 2002, 22:57:49 »
I've tried doing thay but it doesn't work. It says "missing )"
How do you write it properly?
Is it someting like
this addweaponcargo "M16","3"  
 

Mr.BoDean

  • Guest
Re:Ammo vehicles
« Reply #3 on: 16 Dec 2002, 09:08:00 »
Hey,Man ...this works for me ...(I have ver. 1.46)

this addmagazinecargo ["Mortar", 6]; this addweaponcargo ["M21", 1]

Be sure to use a semi-colon to separate items! ;)

Yeah .... Newbies helpin' newbies!  8)