Player
csgo.player
Player data type. Derives from csgo.entity. See entity_list:get_player
Functions
get_name
returns the player's name as a string
get_name( )
get_eye_pos
returns the player's eye position as a csgo.vector3
get_eye_pos( )
is_alive
returns true if the player is alive
is_alive( )
get_hitbox_pos
return a csgo.vector3 with the coordinates of the hitbox
get_hitbox_pos( hitbox )
Parameter
Data type
Description
hitbox
integer
the hitbox to get the
position of
Hitboxes
Last updated