@altv/types-sharedFunctionsonon Callableon(eventName: string, listener: (...args: any[]) => void): voidon(listener: (eventName: string, ...args: any[]) => void): voidSubscribes to a custom local event with the specified listener.
Subscribes to a custom local event with the specified listener.