cs2_player_controller
Last updated
Last updated
This type represents a CCSPlayerController
class.
Returns true
if this player is an enemy to the local player.
Arguments
None.
Returns
Type
Description
bool
true
if an enemy.
Example
Returns the sanitized player name.
Arguments
None.
Returns
Type
Description
string
Player's name.
Example
Returns the pawn attached to this controller.
Arguments
None.
Returns
Type
Description
Pawn instance.
Example
Returns the active weapon.
Arguments
None.
Returns
Type
Description
Weapon instance.
Example
Returns the observer pawn used for this controller.
Arguments
None.
Returns
Type
Description
Entity.
Example
Returns the pawn this controller is currently observing.
Arguments
None.
Returns
Type
Description
Entity.
Example
Returns the current observer mode.
Arguments
None.
Returns
Type
Description
Observer mode.
Example