This commit is contained in:
eray orçunus
2020-02-13 23:34:36 +03:00
parent 79af843ae7
commit 89be27734b
3 changed files with 13 additions and 13 deletions

View File

@@ -4534,7 +4534,7 @@ CPed::SetEvasiveDive(CPhysical *reason, uint8 onlyRandomJump)
}
} else {
if (IsPlayer()) {
((CPlayerPed*)this)->m_bShouldEvade = 5;
((CPlayerPed*)this)->m_nEvadeAmount = 5;
((CPlayerPed*)this)->m_pEvadingFrom = reason;
reason->RegisterReference((CEntity**) &((CPlayerPed*)this)->m_pEvadingFrom);
return;