We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3e3b82 commit eaf76a9Copy full SHA for eaf76a9
packages/platforms/ragemp/client/src/driver.ts
@@ -81,8 +81,8 @@ export class RageClientDriver implements IPlatformDriver {
81
/**
82
* Emits a global client-side event.
83
*/
84
- public emit(_eventName: string, ..._args: any[]): void {
85
- // TODO
+ public emit(eventName: string, ...args: any[]): void {
+ mp.events.call(eventName, ...args);
86
}
87
88
// TODO: Check if we can pass an object as an argument (to make { hello: 'world' } (typescript type))
0 commit comments