cs2_weapon_base
This type represents a CCSWeaponBase
entity.
This type inherits base_entity
type. All of its base methods and fields are also available in this type.
get_abs_origin
Returns the absolute origin (the one that is used for rendering).
Arguments
None.
Returns
Type
Description
Origin.
Example
get_id
Returns the weapon ID.
Arguments
None.
Returns
Type
Description
Weapon ID.
Example
get_type
Returns the weapon type.
Arguments
None.
Returns
Type
Description
Weapon type.
Example
get_data
Returns the weapon static data.
Arguments
None.
Returns
Type
Description
Weapon data.
Example
Last updated