Difference between revisions of "TGame.LoadWeap"

From Soldat Community Wiki
Jump to: navigation, search
m (Fixed typo `ot`)
Line 4: Line 4:
  
 
==Description==
 
==Description==
Changes the weapon mod<br>
+
Changes the weapon mod to target one. It is possible to take a non-default Weapon.ini!<br>
  
 
==Example==
 
==Example==

Revision as of 02:13, 28 August 2013

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');