Skip to content
On this page

onceClient()

Subscribes to a client event with the specified listener, which only triggers once.

Function Definition

ts
function onceClient(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