@altv/types-clientFunctionsoffBranch: Developmentoff Callableoff<K>(eventName: K, listener: (...args: Parameters<K extends keyof IClientEvent ? IClientEvent[K] : K extends never ? ICustomEmitEvent[K] : never>) => void): voidoff<K>(eventName: Exclude<K, keyof IClientEvent>, listener: (...args: any[]) => void): voidUnsubscribes from a event with the specified listener.Remarks Listener should be of the same reference as when event was subscribed to.Type parametersK: keyof IClientEvent
Unsubscribes from a event with the specified listener.
Remarks
Listener should be of the same reference as when event was subscribed to.