WeaponNameByNum

From Soldat Community Wiki
Revision as of 11:16, 15 August 2012 by Freeman (talk | contribs) (Created page with "===From the Scripting Manual=== ''function WeaponNameByNum(Num: integer): string;'' '''Parameter Info:''' Num (integer): Weapon number to be converted to Weapon name. ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

From the Scripting Manual

function WeaponNameByNum(Num: integer): string;

Parameter Info:
 Num (integer): Weapon number to be converted to Weapon name.

Description:
 This function will return the Weapon Name based on the weapon num you specify.

Examples

var
WepName: string;
begin
    WepName := WeaponNameByNum(4);
    WriteLn(WepName); //Steyr AUG
end;


External Links