entitylist¶
get_local_player_controller¶
entitylist.get_local_player_controller():
base_entity_t
get_local_player_pawn¶
entitylist.get_local_player_pawn():
base_entity_t
get_entity_from_handle¶
entitylist.get_entity_from_handle(handle: number):
base_entity_t
Name | Type | Description |
---|---|---|
handle | number |
Handle of the entity |
get_game_rules¶
entitylist.get_game_rules():
C_CSGameRules
get_entities¶
entitylist.get_entities(class_name?: string, include_interits?: boolean):
base_entity_t[]
Name | Type | Description |
---|---|---|
class_name | string |
Optional. Name of the class |
include_interits | boolean |
Optional. Includes derived classes from class_name |
entitylist.get_entities(class_name?: string, include_interits?: boolean, callback: function)
Name | Type | Description |
---|---|---|
class_name | string |
Optional. Name of the class |
include_interits | boolean |
Optional. Includes derived classes from class_name |
callback | function |
Callback function, that receives base_entity_t as an argument |