removeNetworkHandler: Difference between revisions
Jump to navigation
Jump to search
m (Mex moved page RemoveNetworkHandler to removeNetworkHandler) |
No edit summary |
||
Line 1: | Line 1: | ||
{{ScriptItem | {{ScriptItem | ||
|offline = false | |||
|endpoint = shared | |endpoint = shared | ||
|type = function | |type = function |
Latest revision as of 23:15, 21 May 2022
Function
Server and Client
Online Only
Available since Server 1.0.0, Client 1.0.0
void removeNetworkHandler(string networkEventName)
The removeNetworkHandler function is used to remove a handler from being called when a network event occurs.
Parameters
1) | string | networkEventName | The name of the network event, case-insensitive. |
Return
void | This function doesn't return a value. |
Notes
- This only works on custom network events, added by addNetworkHandler.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.
Related
Server Related
addNetworkHandler
removeNetworkHandler
Client Related
addNetworkHandler
connect
disconnect
gta.shutdownAndLaunchNetworkGame
isConnected
isConnecting
removeNetworkHandler