Unexpected behavior when ped revived

Client

Using canary? yes
Windows version: Windows 10 (19042.746)
System specifications: i7 8700k/1080/32go ram

Server

Operating system: see above
Artifact version: 3456
IP address:/
Resources: default
System specifications: see above

Incident

Summary: Peds revived with ResurrectPed (or ReviveInjuredPed) are resurrected but will die soon as they receive a damage (even when pushed)
Expected behavior: A bullet should not kill a ped when setting health to 300 and armour
Actual behavior: Any damages kill a “revived” ped
Steps to reproduce:

  1. Create a ped (client or server side)
  2. Kill the ped
  3. Revive (using the provided ressource)
  4. Shoot one bullet or run to the ped

Server/Client? Happen for ped created server side and client side
Files for repro (if any): test-revive.zip (1.0 KB)
Error screenshot (if any):
.dmp files/report IDs:

Any additional info:

  • Health/armour are correctly reported to client/server using natives GetEntityHealth/GetPedArmour after the ped has been revived
  • GameEvent CEventNetworkEntityDamage is triggered as it should be (and doesn’t indicate the ped will die from this damage)
1 Like