🎉Event
Last updated
Last updated
When you install events, you send the subscribe message to the server, which is potentially unsafe. Therefore, you won't be able to install new listeners when you have unsafe features disabled in the Settings -> Security tab.
The list of events can be found in the "pak01_dir.vpk" under "resource/game.gameevents."
string
): nil
Name | Type | Description |
---|---|---|
Installs an event listener for the desired event.
CEvent
): boolean
Name | Type | Description |
---|---|---|
Checks if the event is reliable.
CEvent
): boolean
Name | Type | Description |
---|---|---|
Checks if the event is local or networked.
CEvent
): boolean
Checks if the event is empty.
Returns the boolean value of the specified event field.
Returns the integer value of the specified event field.
Returns the uint64 value of the specified event field.
Returns the floating value of the specified event field.
Returns the string value of the specified event field.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
name
string
Event name
event
event
event
event
field
string
Field name
event
field
string
Field name
event
field
string
Field name
event
field
string
Field name
event
field
string
Field name