RE.Unregister

From GTA Network Wiki
Jump to: navigation, search

RE.Unregister
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Unregisters a remote event at runtime.

Syntax

bool NAPI.RemoteEvent.Unregister(string eventName);

NOTE: This function returns a bool, true if successful and false if failed.

Usage example(s)

public void InvokedFromSomewhere()
{
    NAPI.RemoteEvent.Unregister("testRemoteEvent");
}

Changelog

Version Description
1.0 Release.

References