@altv/types-clientFunctionsoffServerBranch: DevelopmentoffServer CallableoffServer<K>(eventName: K, listener: (...args: Parameters<ICustomServerClientEvent[K]>) => void): voidoffServer<K>(eventName: Exclude<K, never>, listener: (...args: any[]) => void): voidoffServer(eventName: string, listener: (...args: any[]) => void): voidoffServer(listener: (eventName: string, ...args: any[]) => void): voidUnsubscribes from a server event with the specified listener.Remarks Listener should be of the same reference as when event was subscribed to.Type parametersK: never
Unsubscribes from a server event with the specified listener.
Remarks
Listener should be of the same reference as when event was subscribed to.