engine¶
execute_client_cmd¶
engine.execute_client_cmd(command: string)
Name | Type | Description |
---|---|---|
command | string |
Command to execute |
Example
play_sound¶
engine.play_sound(sound_name: string, volume: string)
Name | Type | Description |
---|---|---|
sound_name | string |
Sound name |
volume | string |
Volume |
chat_print¶
engine.chat_print(text: string)
Name | Type | Description |
---|---|---|
text | string |
Text to print |
get_level_name¶
engine.get_level_name()
get_netvar_offset¶
engine.get_netvar_offset(module_name: string, table_name: string, prop_name: string):
number
Name | Type | Description |
---|---|---|
module_name | string |
Module name |
table_name | string |
Name of the table |
prop_name | string |
Name of the property |