Table of Contents

Lua GetLoadoutWeapon

int GetLoadoutWeapon( int index );

Description

Gets the weapon id form the loadout at that index.

Version

Beta 3.1

Example

<lua>

for i=1,7 do
	ClientPrintPlayer(player, HUD_PRINTTALK, "%s1", GetWeaponPrintName(WeaponName(GetLoadoutWeapon(i))) ); 
end

</lua>