Table of Contents

Class CCSPlayer_ItemServices

Namespace
CounterStrikeSharp.API.Core
Assembly
CounterStrikeSharp.API.dll
public class CCSPlayer_ItemServices : CPlayer_ItemServices
Inheritance
CCSPlayer_ItemServices
Inherited Members

Constructors

CCSPlayer_ItemServices(nint)

public CCSPlayer_ItemServices(nint pointer)

Parameters

pointer nint

Properties

HasDefuser

[SchemaMember("CCSPlayer_ItemServices", "m_bHasDefuser")]
public ref bool HasDefuser { get; }

Property Value

bool

HasHeavyArmor

[SchemaMember("CCSPlayer_ItemServices", "m_bHasHeavyArmor")]
public ref bool HasHeavyArmor { get; }

Property Value

bool

HasHelmet

[SchemaMember("CCSPlayer_ItemServices", "m_bHasHelmet")]
public ref bool HasHelmet { get; }

Property Value

bool

Methods

DropActivePlayerWeapon(CBasePlayerWeapon)

Drops the active player weapon on the ground.

public void DropActivePlayerWeapon(CBasePlayerWeapon activeWeapon)

Parameters

activeWeapon CBasePlayerWeapon

Exceptions

InvalidOperationException

ItemServices points to null

RemoveWeapons()

Removes every weapon from the player.

public void RemoveWeapons()

Exceptions

InvalidOperationException

ItemServices points to null