Lower nametag height for MafiaC
This commit is contained in:
@@ -11,6 +11,7 @@ let localPlayerJobType = -1;
|
|||||||
let localPlayerWorking = false;
|
let localPlayerWorking = false;
|
||||||
let jobRouteLocationBlip = null;
|
let jobRouteLocationBlip = null;
|
||||||
let jobRouteLocationSphere = null;
|
let jobRouteLocationSphere = null;
|
||||||
|
let jobRouteLocationRadius = 5.0;
|
||||||
|
|
||||||
let jobRouteLocationIndicatorPosition = toVector3(0.0, 0.0, 0.0);
|
let jobRouteLocationIndicatorPosition = toVector3(0.0, 0.0, 0.0);
|
||||||
let jobRouteLocationIndicatorSize = [32, 32];
|
let jobRouteLocationIndicatorSize = [32, 32];
|
||||||
@@ -272,14 +273,17 @@ function removeJobsFromClient() {
|
|||||||
|
|
||||||
function processJobLocationIndicatorRendering() {
|
function processJobLocationIndicatorRendering() {
|
||||||
if (jobRouteLocationIndicatorImage == null) {
|
if (jobRouteLocationIndicatorImage == null) {
|
||||||
|
logToConsole(LOG_VERBOSE, `[V.RP.Job]: Can't render job location indicator. Image is null.`);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getGame() != V_GAME_MAFIA_ONE) {
|
if (getGame() != V_GAME_MAFIA_ONE) {
|
||||||
|
logToConsole(LOG_VERBOSE, `[V.RP.Job]: Can't render job location indicator. Unsupported game.`);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!jobRouteLocationIndicatorEnabled) {
|
if (!jobRouteLocationIndicatorEnabled) {
|
||||||
|
logToConsole(LOG_VERBOSE, `[V.RP.Job]: Can't render job location indicator. Disabled`);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ let afkStatusFont = null;
|
|||||||
let pingFont = null;
|
let pingFont = null;
|
||||||
let nametagDistance = 50.0;
|
let nametagDistance = 50.0;
|
||||||
let nametagWidth = 70;
|
let nametagWidth = 70;
|
||||||
let nametagHeight = (getGame() == V_GAME_MAFIA_ONE) ? 2.5 : 0.9;
|
let nametagHeight = (getGame() == V_GAME_MAFIA_ONE) ? 2.0 : 0.9;
|
||||||
|
|
||||||
let playerNames = {};
|
let playerNames = {};
|
||||||
let playerColours = {};
|
let playerColours = {};
|
||||||
|
|||||||
Reference in New Issue
Block a user