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.

Peds go into animation instead of dying from far away

Featured Replies

https://imgur.com/a/1I0d5g7

 

As far as I can tell, this bug only happens if the ped jumps from more than 50m away. When you walk into the animated body, the cause of death becomes a fist fight. I want them to be able to die from fall damage from far away like normal without going into that animation.

        public override bool OnCalloutAccepted()
        {
			//other codes	
          
            Victim = new Ped(new Model("s_m_y_construct_01"), SpawnPoint, 0);
            Victim.IsPersistent = true;
            Victim.BlockPermanentEvents = true;
            Victim.CanBeDamaged = true;

            Victim.Heading = 0;
            GameFiber.Sleep(1000);
            Victim.Tasks.Jump();

            if (!Victim.Exists()) return false;

            return base.OnCalloutAccepted();
        }

 

Thanks in advance

 

EDIT:

While in that animation, to BetterEMS, the peds are considered 'dead' and the cause of death is in fact falling. But, if anything comes into contact with that ped in the animation, they'll 're-die' and the cause of death will change

 

EDIT2:

Victim.BlockPermanentEvents = true;
Victim.CanBeDamaged = true;

ARE NOT THE CAUSE

 

EDIT3:

Victim.IsPersistent = true; 

IS ALSO NOT THE CAUSE

HALP

 

EDIT4:

It seems doing Victim.Kill(); does the same animation

 

Edited by CowNation

C++, C#, and Python dev with a dream.. and depression

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.