WeaponNameByNum

From Soldat Community Wiki
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