Skip to content

Files

Latest commit

2299b7f · Dec 27, 2022

History

History
33 lines (29 loc) · 3.42 KB

c_cs_player.md

File metadata and controls

33 lines (29 loc) · 3.42 KB

🏸 c_cs_player

Example:

local local_player = engine.get_local_player()
local weapon = local_player:get_active_weapon()

Table:

Name function parameter Return type Description
is_enemy bool
is_alive bool
get_abs_origin c_vector3d
get_abs_angles c_vector3d
get_active_weapon c_client_entity*
get_inventory_weapon int index c_client_entity*
get_armor int
get_defusing bool
get_duck_amount float
get_duck_speed float
get_flag ``player_flags flag bool
get_health int
has_defuser bool
is_scoped bool
has_helmet bool
has_heavy_armor bool
get_pose_parameter ``poses parameter float
set_pose_parameter (poses parameter float value) float
get_velocity c_vector3d
get_place_name std::string