Don't try to update server job blips on IV
This commit is contained in:
@@ -3106,6 +3106,10 @@ function replaceJobRouteStringsInMessage(messageText, jobId, jobRouteId) {
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
function updateJobBlipsForPlayer(client) {
|
function updateJobBlipsForPlayer(client) {
|
||||||
|
if (!areServerElementsSupported()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
for (let i in getServerData().jobs) {
|
for (let i in getServerData().jobs) {
|
||||||
for (let j in getServerData().jobs[i].locations) {
|
for (let j in getServerData().jobs[i].locations) {
|
||||||
if (getPlayerJob(client) == 0 || getPlayerJob(client) == i) {
|
if (getPlayerJob(client) == 0 || getPlayerJob(client) == i) {
|
||||||
|
|||||||
Reference in New Issue
Block a user