mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 09:48:15 +08:00
fixed police ignore bug
This commit is contained in:
1 parent
5fa16fe91a
commit
bedf19c523
1 file changed
+1
-1
@@ -4404,7 +4404,7 @@ int8 CRunningScript::ProcessCommands500To599(int32 command)
|
||||
CollectParameters(&m_nIp, 2);
|
||||
CPlayerPed* pPed = CWorld::Players[ScriptParams[0]].m_pPed;
|
||||
assert(pPed);
|
||||
if (ScriptParams[0]) {
|
||||
if (ScriptParams[1]) {
|
||||
pPed->m_pWanted->m_bIgnoredByCops = true;
|
||||
CWorld::StopAllLawEnforcersInTheirTracks();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user