Skip to content

game_event_t

Getters

get_name

event:get_name(): string


get_int

event:get_int(key_name: string): number

Name Type Description
key_name string Key name

get_float

event:get_float(key_name: string): number

Name Type Description
key_name string Key name

get_string

event:get_string(key_name: string): string

Name Type Description
key_name string Key name

get_pawn

event:get_pawn(key_name: string): base_entity_t

Name Type Description
key_name string Key name

get_controller

event:get_controller(key_name: string): base_entity_t

Name Type Description
key_name string Key name

Setters

set_int

event:set_int(key_name: string, value: number)

Name Type Description
key_name string Key name
value number Value

set_float

event:set_float(key_name: string, value: number)

Name Type Description
key_name string Key name
value number Value

set_string

event:set_string(key_name: string, value: string)

Name Type Description
key_name string Key name
value string Value