CBA_fnc_addWeaponWithoutItems

Description

Adds weapon to unit without attachments and without taking a magazine.

Does not work on vehicles.  Attempts to keep magazine ids for unrelated magazines.

Parameters

_unitUnit to add the weapon to <OBEJCT>
_weaponWeapon to add STRING

Returns

Nothing.

Examples

[player, "arifle_mx_F"] CBA_fnc_addWeaponWithoutItems;

Author

commy2

string used by format
Close