engine
get_screen_width()
Returns the width of your screen
get_screen_height()
Returns the height of your screen
get_level_name()
Returns the full name of the map
get_level_name_short()
Returns the short name of the map
get_local_player_index()
Returns your index
get_map_group_name()
Returns the name of the map group
get_player_for_user_id( int index )
Returns the player by index
get_player_info( int index )
Returns the following table:
Variable | Value |
---|---|
name | "name" |
bot | true/false |
steam_id | "STEAM_0:?:?" |
get_view_angles()
Return your view angle