mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-08-31 18:32:07 +02:00
fixed police ignore bug
This commit is contained in:
@@ -4404,7 +4404,7 @@ int8 CRunningScript::ProcessCommands500To599(int32 command)
|
|||||||
CollectParameters(&m_nIp, 2);
|
CollectParameters(&m_nIp, 2);
|
||||||
CPlayerPed* pPed = CWorld::Players[ScriptParams[0]].m_pPed;
|
CPlayerPed* pPed = CWorld::Players[ScriptParams[0]].m_pPed;
|
||||||
assert(pPed);
|
assert(pPed);
|
||||||
if (ScriptParams[0]) {
|
if (ScriptParams[1]) {
|
||||||
pPed->m_pWanted->m_bIgnoredByCops = true;
|
pPed->m_pWanted->m_bIgnoredByCops = true;
|
||||||
CWorld::StopAllLawEnforcersInTheirTracks();
|
CWorld::StopAllLawEnforcersInTheirTracks();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user