Difference between revisions of "WeaponNameByNum"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with "===From the Scripting Manual=== ''function WeaponNameByNum(Num: integer): string;'' '''Parameter Info:''' Num (integer): Weapon number to be converted to Weapon name. ...")
 
(No difference)

Latest revision as of 12:16, 15 August 2012

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