Use native for HUD on IV

This commit is contained in:
Vortrex
2022-01-01 13:25:41 -06:00
parent d44a0792ac
commit 6fc61c6ed0

View File

@@ -123,7 +123,11 @@ function setPlayer2DRendering(hudState, labelState, smallGameMessageState, score
renderHUD = hudState;
if(typeof setHUDEnabled != "undefined") {
setHUDEnabled(hudState);
if(getGame() == VRR_GAME_GTA_IV) {
natives.displayHud(false);
} else {
setHUDEnabled(hudState);
}
}
renderLabels = labelState;