If you want that your soldier start with another weapon, you must write to his initialization this command (in example we have soldier who has M16 but we want HK):
this removeweapon "M16" ; this addweapon "HK"

Surely after successful exchange you welcome changing ammo too. There is similar command for this:
this removemagazine "M16" ; this addmagazine "HK"

Here is the list of weapons, which you can find in editor:
Weapons of NATOAmmo
HK MP5HK
M4M4
M16M16
M16 Grenade LauncherGrenade Launcher
M60M60
M21M21
LawLauncherLawLauncher
CarlGustavLauncherCarlGustavLauncher
AALauncher| AALauncher
| | | | | | | | | | | | | | | | | | | |
Weapons of RussiaAmmo
AK74SUAK74
AK74AK74
AK74GrenadeLauncherGrenade Launcher
M16 Grenade LauncherGrenade Launcher
AK47CZAK47
AK47AK47
AK47GrenadeLauncherGrenadeLauncher
PKPK
SVDDragunovSVDDragunov
RPGLauncherRPGLauncher
AT4LauncherAT4Launcher
9K32Launcher| 9K32Launcher
| | | | | | | | | | | | | | | | | | | | | | | | | |
EquipmentAmmo
BinocularN/A
NVGogglesN/A
FlareFlare
FlareRedFlareRed
FlareGreenFlareGreen
FlareYellowFlareYellow
SmokeShellSmokeShell
SmokeShellRedSmokeShellRed
SmokeShellGreenSmokeShellGreen
HandGrenadeHandGrenade
PipebombPipebomb
TimebombTimebomb
Mine| Mine
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
AddonsAmmo
KozliceKozliceBall, KozliceShell
G36aG36amag
SteyrSteyrMag
XMSM4
Bizon| BizonMag
| | | | | | | | | | | |
|