@altv/types-clientInterfacesICustomServerClientRpcICustomServerClientRpc 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
Extend
player.emitRpc
andalt.onRpc
auto-completion by merging interfaces.Example
Export
Interface
ICustomServerClientRpc