Skip to content

engine:source2

get_localplayer

Type

function

Returns

  • entity

get_schema

Type

function

Parameters

  • string class
  • string field

Returns

  • number

dump_schemas

Type

function

Parameters

  • string path

get_sensitivity

Type

function

Parameters

  • number

get_map

Type

function

Parameters

  • string

to_controller

Type

function

Description

Gets the controller of a pawn.

Parameters

  • entity/userdata

Returns

  • entity

get_globals

Type

function

Returns

  • table
    • number tick_count
    • number interval_per_tick
    • number interpolation_amount
    • number frame_count
    • number real_time
    • number cur_time
    • number frame_time
    • number max_clients
    • string map
    • string map_directory