TGame.LoadWeap

From Soldat Community Wiki
Jump to: navigation, search
function LoadWeap(WeaponMod: string): Boolean
 WeaponMod: path to the weapon mod file
 Result: if it worked or not

Description

Changes the weapon mod to target one. It is possible to take a non-default Weapon.ini!

Example

Game.LoadWeap('sctfl'); // will load sctfl.ini