cbasecombatweapon

IClientEntity is base class

Functions

IsReloading

Returns:

Type

Description

bool

true if weapon in reload

Code:

local bIsReloading = pWeapon:IsReloading()

IsWeapon

Returns:

Type

Description

bool

true if entity is weapon

Code:

local bIsWeapon = pWeapon:IsWeapon()

GetItemDefinitionIndex

Returns:

Type

Description

short

item definition index

Code:

GetSpread

Returns:

Type

Description

float

spread factor

Code:

GetInaccuracy

Returns:

Type

Description

float

innacuracy factor

Code:

GetMaxTickbaseShift

Returns:

Type

Description

int

maximal number of ticks can be shifted

Code:

Last updated

Was this helpful?