Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Disable ped knock down ragdoll when shot

Featured Replies

1 hour ago, rp0123 said:

I've tried suspect.CanRagdoll = false; suspect.IsRagdoll = false;

Suspect still gets knocked down when shot.

 

Have you tried to put suspect.IsRagdoll = false; in the process, so it's in a loop ?

by Mytical.

  • Author
10 minutes ago, Mytical49 said:

Have you tried to put suspect.IsRagdoll = false; in the process, so it's in a loop ?

Yes, I've tried using both in the process too and suspect still ragdolls from getting shot.

 

They don't get ragdolled by every shot, but most of the shots. 

Edited by rp0123

  • Author

I'm trying to recreate the juggernaut shoot out from the paleto score mission.  I still need them to have collision, just not fall down from bullet hits.

  • Author

So far tried:

suspect.CanRagdoll = false;  suspect.IsRagdoll = false;

NativeFunction.Natives.SET_PED_CONFIG_FLAG(suspect, 107, true);

NativeFunction.Natives.setRagdollBlockingFlags(suspect, 1); also tried 0 and (1 << 0).

 

It seems like ragdoll was disabled and there's a difference between damage knock down and ragdoll.

  • Ragdoll enabled, peds get knocked from just 1 shot. and stay in ragdoll physics form while getting hit.
  • With ragdoll disabled, peds aren't always knocked down from bullet hit and if knocked down, can get back up while taking hits.

But none of the setting so far can completely stop peds from getting knocked down by bullets.  I hope there's a command to disable knock down, like player.

 

5 hours ago, rp0123 said:

So far tried:

suspect.CanRagdoll = false;  suspect.IsRagdoll = false;

NativeFunction.Natives.SET_PED_CONFIG_FLAG(suspect, 107, true);

NativeFunction.Natives.setRagdollBlockingFlags(suspect, 1); also tried 0 and (1 << 0).

 

It seems like ragdoll was disabled and there's a difference between damage knock down and ragdoll.

  • Ragdoll enabled, peds get knocked from just 1 shot. and stay in ragdoll physics form while getting hit.
  • With ragdoll disabled, peds aren't always knocked down from bullet hit and if knocked down, can get back up while taking hits.

But none of the setting so far can completely stop peds from getting knocked down by bullets.  I hope there's a command to disable knock down, like player.

 

I've looked into the decompiled code for the Paleto heist and this is everything I found regarding ragdoll:

 

SET_RAGDOLL_BLOCKING_FLAGS(ped, 32768)

 

SET_PED_CAN_RAGDOLL_FROM_PLAYER_IMPACT(ped, false)

 

Ped.CanRagdoll was also used but you already tried that

Edited by RicyVasco

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Similar Content

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.