Skip to content

RunOnClient

Description

RunOnClient is a Server/Host ONLY Function on Script
SERVER ONLY! Tells a specific client to run the given function with the passed parameters.

Example
object.GetScriptByName("testScript").RunOnClient(GetLocalPlayer(), "Toaster", nil)
Usage

network usage: Server/Host ONLY
returns: None
parameters:
- player (Player)
- functionName (string)
- arguments ((optional) Wildcard(s))