Skip to content

engine:goldsrc

get_hud

Type

function

Returns

  • table
    • number m_flTime
    • number m_fOldTime
    • number m_flTimeDelta
    • vector m_vecOrigin
    • vector m_vecAngles
    • number m_iFOV

get_crosshair_target

Type

function

Returns

  • boolean is_enemy_in_crosshair
  • number entity index

get_entities

Type

function

Parameters

  • number entities_to_scan

Returns

  • entity_goldsrc table of goldsrc entities

get_entity

Type

function

Parameters

  • number index

Returns

  • entity_goldsrc

get_hud_entities

Type

function

Parameters

  • number entities_to_scan

Returns

  • entity_goldsrc_hud table of goldsrc hud entity information

get_hud_entity

Type

function

Parameters

  • number index

Returns

  • entity_goldsrc_hud

get_angles

Type

function

Returns

  • table
  • vector view_angles
  • vector punch_angles
  • vector crosshair_angles

get_world

Type

function

Returns

  • table
    • string level
    • number highest_entity_index
    • number num_entities
    • number max_clients
    • number game_type

get_flags

Type

function

Returns

  • table
    • number on_ground
    • number paused
    • number water_level
    • number moving