Skip to main content
Branch: Release Candidate

emitClient

Callable

  • emitClient<K>(player: Player | Player[], eventName: K, ...args: Parameters<ICustomServerClientEvent[K]>): void
  • emitClient<K>(player: Player | Player[], eventName: Exclude<K, never>, ...args: any[]): void

  • Emits specified event to specific client.


    Type parameters

    • K: never