TGame.LoadWeap

From Soldat Community Wiki
Revision as of 14:36, 4 September 2016 by Mighty (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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