Extend player.emitRpc and alt.onRpc auto-completion by merging interfaces.
player.emitRpc
alt.onRpc
declare module 'alt-client' { interface ICustomServerClientRpc { myRpc: (arg1: string, arg2: { key: string, value: number }): Promise<boolean> } }
ICustomServerClientRpc
Extend
player.emitRpc
andalt.onRpc
auto-completion by merging interfaces.declare module 'alt-client' { interface ICustomServerClientRpc { myRpc: (arg1: string, arg2: { key: string, value: number }): Promise<boolean> } }
ICustomServerClientRpc