feat(GravityGun): When grabbing peds force them to ragdoll
This commit is contained in:
parent
f9bf6def6d
commit
35c2e9f41d
@ -57,6 +57,8 @@ namespace big
|
|||||||
{
|
{
|
||||||
functions::take_control_of_entity(entity);
|
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.");
|
features::notify::above_map("Selected entity at crosshair.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user