register

Client Server

Register an event, to be able to trigger it later using trigger function.

event.register(name --[[ string ]])

Trying to register an event with the same name multiple times will simply do nothing.

Last updated