@altv/types-serverFunctionsonClientBranch: Release CandidateonClient CallableonClient<K>(eventName: K, listener: (player: Player, ...args: Parameters<ICustomClientServerEvent[K]>) => void): voidonClient<K>(eventName: Exclude<K, never>, listener: (player: Player, ...args: any[]) => void): voidonClient(listener: (eventName: string, player: Player, ...args: any[]) => void): voidSubscribes to a client event with the specified listener.Type parametersK: never
Subscribes to a client event with the specified listener.