RegisterNetEvent

Marks the event safe for network use. Aka, allows you to trigger the eventName event on the client, from a server side script. Use AddEventHandler to listen for the event after registering it.

Syntax

RegisterNetEvent(string eventName)

Required arguments

Examples

TODO