RemoteFunction
The RemoteFunction class in represents a remote function that can be invoked and heard on the client and server side. It enables communication between server and client scripts by allowing remote calls to be made and handled with params that you define yourself.
Properties
Callback function for the client that is triggered by the server. Parameters are determined by what was passed into InvokeClient.
Callback function for the server that is triggered by the client. Parameters are determined by what was passed into InvokeServer.
The name of the remote function.
Methods
Invokes the remote function on the client side. The player to invoke the function for.
Parameters
player
The player to invoke the function for.
__ELLIPSIS__
Returns
Invokes the remote function on the server side.
Parameters
__ELLIPSIS__
Returns
Updated 9 days ago