From 6fe079663bb55c4f1b2457adea82ebcfada760fd Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Fri, 27 Aug 2021 18:46:23 -0500 Subject: [PATCH] Use 255 for pickup types --- scripts/server/native/gtac.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/scripts/server/native/gtac.js b/scripts/server/native/gtac.js index 1f5524bf..74b21b35 100644 --- a/scripts/server/native/gtac.js +++ b/scripts/server/native/gtac.js @@ -3230,21 +3230,21 @@ let gameData = { }, { // GTA Vice City - business: 2, - house: 2, - bank: 2, - clothes: 2, - info: 2, - job: 2, + business: 255, + house: 255, + bank: 255, + clothes: 255, + info: 255, + job: 255, }, { // GTA San Andreas - business: 1, - house: 1, - bank: 1, - clothes: 1, - info: 1, - job: 1, + business: 255, + house: 255, + bank: 255, + clothes: 255, + info: 255, + job: 255, } ], @@ -4548,8 +4548,8 @@ function createGamePickup(model, position, type) { // =========================================================================== -function createGameBlip(model, position, type = 1, colour = toColour(255, 255, 255, 255)) { - return gta.createBlip(model, position, type, colour); +function createGameBlip(position, type = 0, colour = toColour(255, 255, 255, 255)) { + return gta.createBlip(type, position, 1, colour); } // ===========================================================================