Skip to content

Entities

Provides functions to get various entities.

Functions

GetLocalPlayer()

Returns the local player as a BaseEntity.

GetLocalWeapon()

Returns the local weapon as a BaseCombatWeapon.

GetPlayerResource()

Returns the player resource to get information about the players as a PlayerResource object.

GetByIndex(index)

Returns the entity with the given index as a BaseEntity.