Entity

csgo.entity

Entity data type. See entity_list:get_entity

Functions

is_player

returns true if the entity is a player

is_player( )

is_dormant

returns false if player is being networked

is_dormant( )

get_index

returns the entity's server index as an integer

get_index( )

get_class_id

returns the entity's class indentifier number

get_class_id( )

get_var_int

gets the netvar as an integer

get_var_int( netvar_name )

Parameter

Data type

Description

netvar_name

string

name of desired netvar

get_var_short

gets the netvar as a short

get_var_short( netvar_name )

Parameter

Data type

Description

netvar_name

string

name of desired netvar

get_var_handle

gets the netvar as a handle

get_var_int( netvar_name )

Parameter

Data type

Description

netvar_name

string

name of desired netvar

get_var_float

gets the netvar as a float

get_var_int( netvar_name )

Parameter

Data type

Description

netvar_name

string

name of desired netvar

get_var_bool

gets the netavar as a boolean

get_var_int( netvar_name )

Parameter

Data type

Description

netvar_name

string

name of desired netvar

get_var_vector

gets the netvar as a csgo.vector

get_var_int( netvar_name )

Parameter

Data type

Description

netvar_name

string

name of desired netvar

get_var_angle

gets the netvar as a csgo.angle

get_var_int( netvar_name )

Parameter

Data type

Description

netvar_name

string

name of desired netvar

Last updated