TBanLists.GetHWBanId

From Soldat Community Wiki
Jump to: navigation, search
function GetHWBanId(HW: string): Integer;  
 HW: HWID to be searched
 Result: index of a TBannedHW in TBanLists.HW array

Description

Function is looking for HW on TBanLists.HW array and returns the index.

Expand with: result when hw is not found