Home   Help Search Login Register  

Author Topic: add guns to civilians  (Read 418 times)

0 Members and 1 Guest are viewing this topic.

netta1234

  • Guest
add guns to civilians
« on: 06 Jan 2004, 00:27:31 »
how do i give weapon like a oficer with HK and RPG and cicilian with shotgun

BadAssSuntchezz

  • Guest
Re:add guns to civilians
« Reply #1 on: 06 Jan 2004, 01:34:51 »
You'll need the following code, either in the units init or in a script.

unitname addMagazine "MagType"
unitname addWeapon "WeaponName"
unitname addMagazine "MagType"
unitname addMagazine "MagType"

Make sure to always start with one mag otherwise the weapon isn't loaded and the ai dude can't shoot.
Also make sure to get yourself a command reference an absolut must have for any scripting!

netta1234

  • Guest
Re:add guns to civilians
« Reply #2 on: 06 Jan 2004, 02:03:32 »
ty alot :D:D:D:D:D