TGame.LoadWeap

From Soldat Community Wiki
Revision as of 02:13, 28 August 2013 by DarkCrusade (talk | contribs)
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.LoadWep('sctfl.txt');