Skip to content
On this page

onClient()

Subscribes to a client event with the specified listener.

Function Definition

ts
function onClient(listener: (eventName: string, player: Player, ...args: any[]) => void): void;

Arguments

  • listener: (eventName: string, player: Player, ...args: any[]) => void

Returns

  • void

Documentation

No Documentation Provided Yet

Documentation Created with ❤️ by Stuyk