From fc3d63ea8ab8ec757d759dce91e2e9855f25ccfe Mon Sep 17 00:00:00 2001 From: xshady Date: Wed, 8 May 2024 23:10:41 +0300 Subject: [PATCH 1/2] fix(client): add missing Ped.getByRemoteID --- client/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/index.d.ts b/client/index.d.ts index 3567083a..6c64c23c 100644 --- a/client/index.d.ts +++ b/client/index.d.ts @@ -3927,6 +3927,11 @@ declare module "alt-client" { */ public static getByScriptID(scriptID: number): Ped | null; + /** + * Gets the ped with the given remote id + */ + public static getByRemoteID(id: number): Player | null; + public static readonly all: readonly Ped[]; public static readonly streamedIn: readonly Ped[]; From 36bb51642757fa72716c7035172f07be210d705a Mon Sep 17 00:00:00 2001 From: xshady Date: Wed, 8 May 2024 23:12:08 +0300 Subject: [PATCH 2/2] fix(client): typo --- client/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/index.d.ts b/client/index.d.ts index 6c64c23c..92b680aa 100644 --- a/client/index.d.ts +++ b/client/index.d.ts @@ -3930,7 +3930,7 @@ declare module "alt-client" { /** * Gets the ped with the given remote id */ - public static getByRemoteID(id: number): Player | null; + public static getByRemoteID(id: number): Ped | null; public static readonly all: readonly Ped[];