Clear wanted level on process

This commit is contained in:
Vortrex
2021-04-22 09:24:19 -05:00
parent 683771230c
commit c9fed71f41

View File

@@ -105,6 +105,7 @@ function onProcess(event, deltaTime) {
processLocalPlayerVehicleEntryExitHandling(); processLocalPlayerVehicleEntryExitHandling();
processJobRouteSphere(); processJobRouteSphere();
forceLocalPlayerEquippedWeaponItem(); forceLocalPlayerEquippedWeaponItem();
processWantedLevelReset();
} }
// =========================================================================== // ===========================================================================
@@ -124,6 +125,10 @@ function onDrawnHUD(event) {
return false; return false;
} }
//if(gta.game == GAME_GTA_VC) {
// return false;
//}
processSmallGameMessageRendering(); processSmallGameMessageRendering();
processScoreBoardRendering(); processScoreBoardRendering();
processLabelRendering(); processLabelRendering();
@@ -131,8 +136,6 @@ function onDrawnHUD(event) {
processItemActionRendering(); processItemActionRendering();
processSkinSelectRendering(); processSkinSelectRendering();
processNameTagRendering(); processNameTagRendering();
localPlayer.wantedLevel = 0;
} }
// =========================================================================== // ===========================================================================