From 1c6b7c662a230ac0bd6ed9511f8b65d456153aa4 Mon Sep 17 00:00:00 2001 From: shr0x <44136562+shr0x@users.noreply.github.com> Date: Fri, 1 Mar 2024 19:54:09 +0100 Subject: [PATCH] add setCanLosePropsOnDamage (#71) --- packages/client/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/client/index.d.ts b/packages/client/index.d.ts index 5e6b715..206a9e5 100644 --- a/packages/client/index.d.ts +++ b/packages/client/index.d.ts @@ -1059,8 +1059,8 @@ declare interface BrowserMp { executeCached(code: string): void; /** - * Available on 11_test_1102_eXzHpHrWd2UfgUhdau6PDVJ88GG5aQY3 branch - */ + * Available on 11_test_1102_eXzHpHrWd2UfgUhdau6PDVJ88GG5aQY3 branch + */ headlessTextureDict: string; headlessTextureName: string; headlessTextureHeightScale: number; @@ -1671,6 +1671,7 @@ declare interface PedMpBase extends EntityMp { setCanBeKnockedOffVehicle(state: number): void; setCanBeShotInVehicle(toggle: boolean): void; setCanBeTargetedWhenInjured(toggle: boolean): void; + setCanLosePropsOnDamage(enable: boolean, p0: number): void; setCanBeTargetedWithoutLos(toggle: boolean): void; setCanBeTargetted(toggle: boolean): void; setCanBeTargettedByPlayer(player: Handle, toggle: boolean): void;