Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICustomServerClientRpc

Extend player.emitRpc and alt.onRpc auto-completion by merging interfaces.

example
declare module 'alt-client' {
   interface ICustomServerClientRpc {
       myRpc: (arg1: string, arg2: { key: string, value: number }): Promise<boolean>
   }
}
export
interface

ICustomServerClientRpc

Hierarchy

  • ICustomServerClientRpc