From 35c2e9f41d6c58f25209023249b6f87eae1e8e0f Mon Sep 17 00:00:00 2001 From: Yimura Date: Wed, 3 Feb 2021 21:34:46 +0100 Subject: [PATCH] feat(GravityGun): When grabbing peds force them to ragdoll --- BigBaseV2/src/features/looped/custom_guns/gravity_gun.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BigBaseV2/src/features/looped/custom_guns/gravity_gun.cpp b/BigBaseV2/src/features/looped/custom_guns/gravity_gun.cpp index 942ce7de..f14ec457 100644 --- a/BigBaseV2/src/features/looped/custom_guns/gravity_gun.cpp +++ b/BigBaseV2/src/features/looped/custom_guns/gravity_gun.cpp @@ -57,6 +57,8 @@ namespace big { functions::take_control_of_entity(entity); + if (ENTITY::IS_ENTITY_A_PED(entity) && !PED::IS_PED_RAGDOLL(entity)) TASK::SET_HIGH_FALL_TASK(entity, 0, 0, 0); + features::notify::above_map("Selected entity at crosshair."); } }