Comments and organization

This commit is contained in:
Vortrex
2022-03-21 10:31:03 -05:00
parent 03bad1c341
commit 8e96b01ceb
5 changed files with 29 additions and 17 deletions

View File

@@ -53,6 +53,7 @@ function showJobRouteLocation(position, colour) {
logToConsole(LOG_DEBUG, `[VRR.Job] Showing job route location`);
if(getMultiplayerMod() == VRR_MPMOD_GTAC) {
if(game.game == VRR_GAME_GTA_SA) {
// Server-side spheres don't show in GTA SA for some reason.
jobRouteLocationSphere = game.createPickup(1318, position, 1);
} else {
jobRouteLocationSphere = game.createSphere(position, 3);