Skip to content

BindFunction

Description

BindFunction is a Function on Event
Tells the given script to listen for global events being called with the given function name. If the global event with that name is called, the function on the given script with the given function name will be called.

Example
Event.BindFunction(nil, "Toaster", "Toaster")
Usage

network usage: Any (Client or Server/Host)
returns: None
parameters:
- script (Script)
- functionName (string)
- functionToCall (string)