clear usages
This commit is contained in:
parent
8972fee22e
commit
33ebdaac84
@ -32,6 +32,3 @@ export const fw = {
|
||||
event: new Client(),
|
||||
player: new Player(),
|
||||
}
|
||||
|
||||
fw.player.triggerServer('customServerEvent', ['wer'])
|
||||
fw.event.register('customClientEvent', ([arg1]) => true)
|
||||
|
@ -91,10 +91,3 @@ export const fw = {
|
||||
event: new Server(),
|
||||
player: new Player(),
|
||||
}
|
||||
|
||||
fw.event.register('customServerEvent', (player, args) => true)
|
||||
fw.event.register('playerDeath', (player, args, killer) => {})
|
||||
|
||||
fw.event.registerMany({
|
||||
trailerAttached: (vehicle, trailer) => undefined,
|
||||
})
|
||||
|
9
shared-types/types/types/index.d.ts
vendored
9
shared-types/types/types/index.d.ts
vendored
@ -1,10 +1,5 @@
|
||||
declare module 'rage-fw-shared-types' {
|
||||
export interface RageFW_ICustomServerEvent {
|
||||
customServerEvent(customArgs: string): boolean
|
||||
customServerEvent2(...customArgs2: number[]): void
|
||||
}
|
||||
export interface RageFW_ICustomServerEvent {}
|
||||
|
||||
export interface RageFW_ICustomClientEvent {
|
||||
customClientEvent(clientArgs: string): boolean
|
||||
}
|
||||
export interface RageFW_ICustomClientEvent {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user