cs2_player_pawn
Last updated
Last updated
This type represents a C_CSPlayerPawn
class.
Returns true
if the game will draw this player on screen.
Arguments
None.
Returns
Type
Description
bool
true
if will.
Example
Returns true
if left-hand mode is enabled.
Arguments
None.
Returns
Type
Description
bool
true
if left-handed.
Example
Returns the absolute origin (the one that is used for rendering).
Arguments
None.
Returns
Type
Description
Origin.
Example
Returns the absolute angles (the one that is used for rendering).
Arguments
None.
Returns
Type
Description
Angles.
Example
Method
Returns the absolute velocity.
Arguments
None.
Returns
Type
Description
Velocity.
Example
Sets the new absolute origin.
Arguments
Name
Type
Description
vec
New origin.
Returns
Nothing.
Example
Sets new absolute angles.
Arguments
Name
Type
Description
ang
New angles.
Returns
Nothing.
Example
Method
Sets new absolute velocity.
Arguments
Name
Type
Description
vel
New velocity.
Returns
Nothing.
Example
Returns true
if the player is alive.
Arguments
None.
Returns
Type
Description
bool
true
if alive.
Example
Returns true
if this player is an enemy to the local player.
Arguments
None.
Returns
Type
Description
bool
true
if an enemy.
Example
Returns whether this player is an enemy to another entity.
Arguments
Name
Type
Description
ent
Other entity.
Returns
Type
Description
bool
true
if an enemy.
Example
Returns the active weapon.
Arguments
None.
Returns
Type
Description
Weapon instance.
Example
Returns the sanitized player name.
Arguments
None.
Returns
Type
Description
string
Player's name.
Example
Returns the player's view offset (eye location relative to the player's origin).
Arguments
None.
Returns
Type
Description
View offset.
Example
Returns the player's eye position.
Arguments
None.
Returns
Type
Description
Eye position.
Example