Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Script QBCore Gang System

KnoxBlox420

Member
Joined
Jul 25, 2022
Messages
1
Reaction score
11
Points
146
Location
Sweden
HELLO, I DECIDED TO SHARE THE GANG SYSTEM I USED IN MY OWN PACK, BECAUSE IT IS NOT IN THE FORUM.
NOT THE MANUFACTURER, ONLY BALLAS-AZTEKAS-VAGOS
I ADDED ADDITIONAL LOST MC TO THE ARTICLES WITH STORAGE AND TOOLS EMAIL FOR GANGLER.
VEHICLE COLORS ARE SPECIAL TO EACH GANG. YOU CAN SET COORDINATES AND TOOLS TO BE REMOVED IN CONFIG.LUA.
TO ADD A NEW GANG, YOU MUST MODIFY CLIENT.LUA AND ADD X,Y,Z THROUGH THE CONFIGURATION.
YOU CAN CHANGE THE COLOR OF THE VEHICLES GIVEN ON THE CUSTOMER. I NEVER TRIED THE COLOR OF THE CAR FOR LOST MC. MUST TEST.
Code:​


Code:
function TakeOutVehicleLost(vehicleInfo)
    local coords = Config.Locations["ogcarspawnLost"].coords
    QBCore.Functions.SpawnVehicle(vehicleInfo, function(veh)
        SetVehicleNumberPlateText(veh, "OG"..tostring(math.random(1000, 9999)))
        local color = GetIsVehiclePrimaryColourCustom(veh)
        SetVehicleCustomPrimaryColour(veh, 1,1,1)
        SetVehicleCustomSecondaryColour(veh, 0,0,0)
        SetEntityHeading(veh, coords.h)
        exports['LegacyFuel']:SetFuel(veh, 100.0)
        closeMenuFull()
        TaskWarpPedIntoVehicle(GetPlayerPed(-1), veh, -1)
        TriggerEvent("vehiclekeys:client:SetOwner", GetVehicleNumberPlateText(veh))
        SetVehicleEngineOn(veh, true, true)
        CurrentPlate = GetVehicleNumberPlateText(veh)
    end, coords, true)
end


CLIENT.LUA - YOU CAN CHANGE THE VEHICLE COLOR BY CHANGEING THE NUMBERS FROM LINE 514 [ (veh, 1,1,1) ]. (FROM THE SECTION I GIVEN ABOVE)

ADDITIONAL THINGS YOU NEED TO DO:

- Occupations must be added to qb-core/shared.lua to open warehouses and garages.
- Occupations to be added:
  • lostmcgng
  • vagos
  • thefamily
  • ballas
  • marabunta

LIKE I SAID, THE SCRIPT IS NOT ME, IT IS AVAILABLE IN THE SCRIPT PRODUCER'S README. GOOD FORUMS
asd
 

srhealth

Bronze Elite
Joined
May 31, 2022
Messages
21
Reaction score
3
Points
166
Location
spain
HELLO, I DECIDED TO SHARE THE GANG SYSTEM I USED IN MY OWN PACK, BECAUSE IT IS NOT IN THE FORUM.
NOT THE MANUFACTURER, ONLY BALLAS-AZTEKAS-VAGOS
I ADDED ADDITIONAL LOST MC TO THE ARTICLES WITH STORAGE AND TOOLS EMAIL FOR GANGLER.
VEHICLE COLORS ARE SPECIAL TO EACH GANG. YOU CAN SET COORDINATES AND TOOLS TO BE REMOVED IN CONFIG.LUA.
TO ADD A NEW GANG, YOU MUST MODIFY CLIENT.LUA AND ADD X,Y,Z THROUGH THE CONFIGURATION.
YOU CAN CHANGE THE COLOR OF THE VEHICLES GIVEN ON THE CUSTOMER. I NEVER TRIED THE COLOR OF THE CAR FOR LOST MC. MUST TEST.
Code:​


Code:
function TakeOutVehicleLost(vehicleInfo)
    local coords = Config.Locations["ogcarspawnLost"].coords
    QBCore.Functions.SpawnVehicle(vehicleInfo, function(veh)
        SetVehicleNumberPlateText(veh, "OG"..tostring(math.random(1000, 9999)))
        local color = GetIsVehiclePrimaryColourCustom(veh)
        SetVehicleCustomPrimaryColour(veh, 1,1,1)
        SetVehicleCustomSecondaryColour(veh, 0,0,0)
        SetEntityHeading(veh, coords.h)
        exports['LegacyFuel']:SetFuel(veh, 100.0)
        closeMenuFull()
        TaskWarpPedIntoVehicle(GetPlayerPed(-1), veh, -1)
        TriggerEvent("vehiclekeys:client:SetOwner", GetVehicleNumberPlateText(veh))
        SetVehicleEngineOn(veh, true, true)
        CurrentPlate = GetVehicleNumberPlateText(veh)
    end, coords, true)
end


CLIENT.LUA - YOU CAN CHANGE THE VEHICLE COLOR BY CHANGEING THE NUMBERS FROM LINE 514 [ (veh, 1,1,1) ]. (FROM THE SECTION I GIVEN ABOVE)

ADDITIONAL THINGS YOU NEED TO DO:

- Occupations must be added to qb-core/shared.lua to open warehouses and garages.
- Occupations to be added:
  • lostmcgng
  • vagos
  • thefamily
  • ballas
  • marabunta

LIKE I SAID, THE SCRIPT IS NOT ME, IT IS AVAILABLE IN THE SCRIPT PRODUCER'S README. GOOD FORUMS
Ggg
 
Joined
Jan 3, 2024
Messages
2
Reaction score
2
Points
146
Location
london
HELLO, I DECIDED TO SHARE THE GANG SYSTEM I USED IN MY OWN PACK, BECAUSE IT IS NOT IN THE FORUM.
NOT THE MANUFACTURER, ONLY BALLAS-AZTEKAS-VAGOS
I ADDED ADDITIONAL LOST MC TO THE ARTICLES WITH STORAGE AND TOOLS EMAIL FOR GANGLER.
VEHICLE COLORS ARE SPECIAL TO EACH GANG. YOU CAN SET COORDINATES AND TOOLS TO BE REMOVED IN CONFIG.LUA.
TO ADD A NEW GANG, YOU MUST MODIFY CLIENT.LUA AND ADD X,Y,Z THROUGH THE CONFIGURATION.
YOU CAN CHANGE THE COLOR OF THE VEHICLES GIVEN ON THE CUSTOMER. I NEVER TRIED THE COLOR OF THE CAR FOR LOST MC. MUST TEST.
Code:​


Code:
function TakeOutVehicleLost(vehicleInfo)
    local coords = Config.Locations["ogcarspawnLost"].coords
    QBCore.Functions.SpawnVehicle(vehicleInfo, function(veh)
        SetVehicleNumberPlateText(veh, "OG"..tostring(math.random(1000, 9999)))
        local color = GetIsVehiclePrimaryColourCustom(veh)
        SetVehicleCustomPrimaryColour(veh, 1,1,1)
        SetVehicleCustomSecondaryColour(veh, 0,0,0)
        SetEntityHeading(veh, coords.h)
        exports['LegacyFuel']:SetFuel(veh, 100.0)
        closeMenuFull()
        TaskWarpPedIntoVehicle(GetPlayerPed(-1), veh, -1)
        TriggerEvent("vehiclekeys:client:SetOwner", GetVehicleNumberPlateText(veh))
        SetVehicleEngineOn(veh, true, true)
        CurrentPlate = GetVehicleNumberPlateText(veh)
    end, coords, true)
end


CLIENT.LUA - YOU CAN CHANGE THE VEHICLE COLOR BY CHANGEING THE NUMBERS FROM LINE 514 [ (veh, 1,1,1) ]. (FROM THE SECTION I GIVEN ABOVE)

ADDITIONAL THINGS YOU NEED TO DO:

- Occupations must be added to qb-core/shared.lua to open warehouses and garages.
- Occupations to be added:
  • lostmcgng
  • vagos
  • thefamily
  • ballas
  • marabunta

LIKE I SAID, THE SCRIPT IS NOT ME, IT IS AVAILABLE IN THE SCRIPT PRODUCER'S README. GOOD FORUMS
where is link ?
 

Smiley950

Member
Joined
Jan 28, 2024
Messages
6
Reaction score
1
Points
146
Location
Morocco
HELLO, I DECIDED TO SHARE THE GANG SYSTEM I USED IN MY OWN PACK, BECAUSE IT IS NOT IN THE FORUM.
NOT THE MANUFACTURER, ONLY BALLAS-AZTEKAS-VAGOS
I ADDED ADDITIONAL LOST MC TO THE ARTICLES WITH STORAGE AND TOOLS EMAIL FOR GANGLER.
VEHICLE COLORS ARE SPECIAL TO EACH GANG. YOU CAN SET COORDINATES AND TOOLS TO BE REMOVED IN CONFIG.LUA.
TO ADD A NEW GANG, YOU MUST MODIFY CLIENT.LUA AND ADD X,Y,Z THROUGH THE CONFIGURATION.
YOU CAN CHANGE THE COLOR OF THE VEHICLES GIVEN ON THE CUSTOMER. I NEVER TRIED THE COLOR OF THE CAR FOR LOST MC. MUST TEST.
Code:​


Code:
function TakeOutVehicleLost(vehicleInfo)
    local coords = Config.Locations["ogcarspawnLost"].coords
    QBCore.Functions.SpawnVehicle(vehicleInfo, function(veh)
        SetVehicleNumberPlateText(veh, "OG"..tostring(math.random(1000, 9999)))
        local color = GetIsVehiclePrimaryColourCustom(veh)
        SetVehicleCustomPrimaryColour(veh, 1,1,1)
        SetVehicleCustomSecondaryColour(veh, 0,0,0)
        SetEntityHeading(veh, coords.h)
        exports['LegacyFuel']:SetFuel(veh, 100.0)
        closeMenuFull()
        TaskWarpPedIntoVehicle(GetPlayerPed(-1), veh, -1)
        TriggerEvent("vehiclekeys:client:SetOwner", GetVehicleNumberPlateText(veh))
        SetVehicleEngineOn(veh, true, true)
        CurrentPlate = GetVehicleNumberPlateText(veh)
    end, coords, true)
end


CLIENT.LUA - YOU CAN CHANGE THE VEHICLE COLOR BY CHANGEING THE NUMBERS FROM LINE 514 [ (veh, 1,1,1) ]. (FROM THE SECTION I GIVEN ABOVE)

ADDITIONAL THINGS YOU NEED TO DO:

- Occupations must be added to qb-core/shared.lua to open warehouses and garages.
- Occupations to be added:
  • lostmcgng
  • vagos
  • thefamily
  • ballas
  • marabunta

LIKE I SAID, THE SCRIPT IS NOT ME, IT IS AVAILABLE IN THE SCRIPT PRODUCER'S README. GOOD FORUMS
thnx
 

robahealts

Member
Joined
Dec 29, 2023
Messages
4
Reaction score
0
Points
156
Location
Argentina
HELLO, I DECIDED TO SHARE THE GANG SYSTEM I USED IN MY OWN PACK, BECAUSE IT IS NOT IN THE FORUM.
NOT THE MANUFACTURER, ONLY BALLAS-AZTEKAS-VAGOS
I ADDED ADDITIONAL LOST MC TO THE ARTICLES WITH STORAGE AND TOOLS EMAIL FOR GANGLER.
VEHICLE COLORS ARE SPECIAL TO EACH GANG. YOU CAN SET COORDINATES AND TOOLS TO BE REMOVED IN CONFIG.LUA.
TO ADD A NEW GANG, YOU MUST MODIFY CLIENT.LUA AND ADD X,Y,Z THROUGH THE CONFIGURATION.
YOU CAN CHANGE THE COLOR OF THE VEHICLES GIVEN ON THE CUSTOMER. I NEVER TRIED THE COLOR OF THE CAR FOR LOST MC. MUST TEST.
Code:​


Code:
function TakeOutVehicleLost(vehicleInfo)
    local coords = Config.Locations["ogcarspawnLost"].coords
    QBCore.Functions.SpawnVehicle(vehicleInfo, function(veh)
        SetVehicleNumberPlateText(veh, "OG"..tostring(math.random(1000, 9999)))
        local color = GetIsVehiclePrimaryColourCustom(veh)
        SetVehicleCustomPrimaryColour(veh, 1,1,1)
        SetVehicleCustomSecondaryColour(veh, 0,0,0)
        SetEntityHeading(veh, coords.h)
        exports['LegacyFuel']:SetFuel(veh, 100.0)
        closeMenuFull()
        TaskWarpPedIntoVehicle(GetPlayerPed(-1), veh, -1)
        TriggerEvent("vehiclekeys:client:SetOwner", GetVehicleNumberPlateText(veh))
        SetVehicleEngineOn(veh, true, true)
        CurrentPlate = GetVehicleNumberPlateText(veh)
    end, coords, true)
end


CLIENT.LUA - YOU CAN CHANGE THE VEHICLE COLOR BY CHANGEING THE NUMBERS FROM LINE 514 [ (veh, 1,1,1) ]. (FROM THE SECTION I GIVEN ABOVE)

ADDITIONAL THINGS YOU NEED TO DO:

- Occupations must be added to qb-core/shared.lua to open warehouses and garages.
- Occupations to be added:
  • lostmcgng
  • vagos
  • thefamily
  • ballas
  • marabunta

LIKE I SAID, THE SCRIPT IS NOT ME, IT IS AVAILABLE IN THE SCRIPT PRODUCER'S README. GOOD FORUMS
 

Vidorreta

Silver Elite
Joined
Aug 15, 2021
Messages
33
Reaction score
15
Points
166
HELLO, I DECIDED TO SHARE THE GANG SYSTEM I USED IN MY OWN PACK, BECAUSE IT IS NOT IN THE FORUM.
NOT THE MANUFACTURER, ONLY BALLAS-AZTEKAS-VAGOS
I ADDED ADDITIONAL LOST MC TO THE ARTICLES WITH STORAGE AND TOOLS EMAIL FOR GANGLER.
VEHICLE COLORS ARE SPECIAL TO EACH GANG. YOU CAN SET COORDINATES AND TOOLS TO BE REMOVED IN CONFIG.LUA.
TO ADD A NEW GANG, YOU MUST MODIFY CLIENT.LUA AND ADD X,Y,Z THROUGH THE CONFIGURATION.
YOU CAN CHANGE THE COLOR OF THE VEHICLES GIVEN ON THE CUSTOMER. I NEVER TRIED THE COLOR OF THE CAR FOR LOST MC. MUST TEST.
Code:​


Code:
function TakeOutVehicleLost(vehicleInfo)
    local coords = Config.Locations["ogcarspawnLost"].coords
    QBCore.Functions.SpawnVehicle(vehicleInfo, function(veh)
        SetVehicleNumberPlateText(veh, "OG"..tostring(math.random(1000, 9999)))
        local color = GetIsVehiclePrimaryColourCustom(veh)
        SetVehicleCustomPrimaryColour(veh, 1,1,1)
        SetVehicleCustomSecondaryColour(veh, 0,0,0)
        SetEntityHeading(veh, coords.h)
        exports['LegacyFuel']:SetFuel(veh, 100.0)
        closeMenuFull()
        TaskWarpPedIntoVehicle(GetPlayerPed(-1), veh, -1)
        TriggerEvent("vehiclekeys:client:SetOwner", GetVehicleNumberPlateText(veh))
        SetVehicleEngineOn(veh, true, true)
        CurrentPlate = GetVehicleNumberPlateText(veh)
    end, coords, true)
end


CLIENT.LUA - YOU CAN CHANGE THE VEHICLE COLOR BY CHANGEING THE NUMBERS FROM LINE 514 [ (veh, 1,1,1) ]. (FROM THE SECTION I GIVEN ABOVE)

ADDITIONAL THINGS YOU NEED TO DO:

- Occupations must be added to qb-core/shared.lua to open warehouses and garages.
- Occupations to be added:
  • lostmcgng
  • vagos
  • thefamily
  • ballas
  • marabunta

LIKE I SAID, THE SCRIPT IS NOT ME, IT IS AVAILABLE IN THE SCRIPT PRODUCER'S README. GOOD FORUMS
niceeee
 

Jxvi_ibzz

Bronze Elite
Joined
May 28, 2021
Messages
11
Reaction score
5
Points
156
HELLO, I DECIDED TO SHARE THE GANG SYSTEM I USED IN MY OWN PACK, BECAUSE IT IS NOT IN THE FORUM.
NOT THE MANUFACTURER, ONLY BALLAS-AZTEKAS-VAGOS
I ADDED ADDITIONAL LOST MC TO THE ARTICLES WITH STORAGE AND TOOLS EMAIL FOR GANGLER.
VEHICLE COLORS ARE SPECIAL TO EACH GANG. YOU CAN SET COORDINATES AND TOOLS TO BE REMOVED IN CONFIG.LUA.
TO ADD A NEW GANG, YOU MUST MODIFY CLIENT.LUA AND ADD X,Y,Z THROUGH THE CONFIGURATION.
YOU CAN CHANGE THE COLOR OF THE VEHICLES GIVEN ON THE CUSTOMER. I NEVER TRIED THE COLOR OF THE CAR FOR LOST MC. MUST TEST.
Code:​


Code:
function TakeOutVehicleLost(vehicleInfo)
    local coords = Config.Locations["ogcarspawnLost"].coords
    QBCore.Functions.SpawnVehicle(vehicleInfo, function(veh)
        SetVehicleNumberPlateText(veh, "OG"..tostring(math.random(1000, 9999)))
        local color = GetIsVehiclePrimaryColourCustom(veh)
        SetVehicleCustomPrimaryColour(veh, 1,1,1)
        SetVehicleCustomSecondaryColour(veh, 0,0,0)
        SetEntityHeading(veh, coords.h)
        exports['LegacyFuel']:SetFuel(veh, 100.0)
        closeMenuFull()
        TaskWarpPedIntoVehicle(GetPlayerPed(-1), veh, -1)
        TriggerEvent("vehiclekeys:client:SetOwner", GetVehicleNumberPlateText(veh))
        SetVehicleEngineOn(veh, true, true)
        CurrentPlate = GetVehicleNumberPlateText(veh)
    end, coords, true)
end


CLIENT.LUA - YOU CAN CHANGE THE VEHICLE COLOR BY CHANGEING THE NUMBERS FROM LINE 514 [ (veh, 1,1,1) ]. (FROM THE SECTION I GIVEN ABOVE)

ADDITIONAL THINGS YOU NEED TO DO:

- Occupations must be added to qb-core/shared.lua to open warehouses and garages.
- Occupations to be added:
  • lostmcgng
  • vagos
  • thefamily
  • ballas
  • marabunta

LIKE I SAID, THE SCRIPT IS NOT ME, IT IS AVAILABLE IN THE SCRIPT PRODUCER'S README. GOOD FORUMS
tyyy
 

wilon

Member
Joined
Jun 19, 2021
Messages
5
Reaction score
0
Points
146
Location
natal - brasil
sd
HELLO, I DECIDED TO SHARE THE GANG SYSTEM I USED IN MY OWN PACK, BECAUSE IT IS NOT IN THE FORUM.
NOT THE MANUFACTURER, ONLY BALLAS-AZTEKAS-VAGOS
I ADDED ADDITIONAL LOST MC TO THE ARTICLES WITH STORAGE AND TOOLS EMAIL FOR GANGLER.
VEHICLE COLORS ARE SPECIAL TO EACH GANG. YOU CAN SET COORDINATES AND TOOLS TO BE REMOVED IN CONFIG.LUA.
TO ADD A NEW GANG, YOU MUST MODIFY CLIENT.LUA AND ADD X,Y,Z THROUGH THE CONFIGURATION.
YOU CAN CHANGE THE COLOR OF THE VEHICLES GIVEN ON THE CUSTOMER. I NEVER TRIED THE COLOR OF THE CAR FOR LOST MC. MUST TEST.
Code:​


Code:
function TakeOutVehicleLost(vehicleInfo)
    local coords = Config.Locations["ogcarspawnLost"].coords
    QBCore.Functions.SpawnVehicle(vehicleInfo, function(veh)
        SetVehicleNumberPlateText(veh, "OG"..tostring(math.random(1000, 9999)))
        local color = GetIsVehiclePrimaryColourCustom(veh)
        SetVehicleCustomPrimaryColour(veh, 1,1,1)
        SetVehicleCustomSecondaryColour(veh, 0,0,0)
        SetEntityHeading(veh, coords.h)
        exports['LegacyFuel']:SetFuel(veh, 100.0)
        closeMenuFull()
        TaskWarpPedIntoVehicle(GetPlayerPed(-1), veh, -1)
        TriggerEvent("vehiclekeys:client:SetOwner", GetVehicleNumberPlateText(veh))
        SetVehicleEngineOn(veh, true, true)
        CurrentPlate = GetVehicleNumberPlateText(veh)
    end, coords, true)
end


CLIENT.LUA - YOU CAN CHANGE THE VEHICLE COLOR BY CHANGEING THE NUMBERS FROM LINE 514 [ (veh, 1,1,1) ]. (FROM THE SECTION I GIVEN ABOVE)

ADDITIONAL THINGS YOU NEED TO DO:

- Occupations must be added to qb-core/shared.lua to open warehouses and garages.
- Occupations to be added:
  • lostmcgng
  • vagos
  • thefamily
  • ballas
  • marabunta

LIKE I SAID, THE SCRIPT IS NOT ME, IT IS AVAILABLE IN THE SCRIPT PRODUCER'S README. GOOD FORUMS
fds
 

raha12

Member
Joined
Aug 19, 2024
Messages
3
Reaction score
26
Points
156
Location
ebohassan
HELLO, I DECIDED TO SHARE THE GANG SYSTEM I USED IN MY OWN PACK, BECAUSE IT IS NOT IN THE FORUM.
NOT THE MANUFACTURER, ONLY BALLAS-AZTEKAS-VAGOS
I ADDED ADDITIONAL LOST MC TO THE ARTICLES WITH STORAGE AND TOOLS EMAIL FOR GANGLER.
VEHICLE COLORS ARE SPECIAL TO EACH GANG. YOU CAN SET COORDINATES AND TOOLS TO BE REMOVED IN CONFIG.LUA.
TO ADD A NEW GANG, YOU MUST MODIFY CLIENT.LUA AND ADD X,Y,Z THROUGH THE CONFIGURATION.
YOU CAN CHANGE THE COLOR OF THE VEHICLES GIVEN ON THE CUSTOMER. I NEVER TRIED THE COLOR OF THE CAR FOR LOST MC. MUST TEST.
Code:​


Code:
function TakeOutVehicleLost(vehicleInfo)
    local coords = Config.Locations["ogcarspawnLost"].coords
    QBCore.Functions.SpawnVehicle(vehicleInfo, function(veh)
        SetVehicleNumberPlateText(veh, "OG"..tostring(math.random(1000, 9999)))
        local color = GetIsVehiclePrimaryColourCustom(veh)
        SetVehicleCustomPrimaryColour(veh, 1,1,1)
        SetVehicleCustomSecondaryColour(veh, 0,0,0)
        SetEntityHeading(veh, coords.h)
        exports['LegacyFuel']:SetFuel(veh, 100.0)
        closeMenuFull()
        TaskWarpPedIntoVehicle(GetPlayerPed(-1), veh, -1)
        TriggerEvent("vehiclekeys:client:SetOwner", GetVehicleNumberPlateText(veh))
        SetVehicleEngineOn(veh, true, true)
        CurrentPlate = GetVehicleNumberPlateText(veh)
    end, coords, true)
end


CLIENT.LUA - YOU CAN CHANGE THE VEHICLE COLOR BY CHANGEING THE NUMBERS FROM LINE 514 [ (veh, 1,1,1) ]. (FROM THE SECTION I GIVEN ABOVE)

ADDITIONAL THINGS YOU NEED TO DO:

- Occupations must be added to qb-core/shared.lua to open warehouses and garages.
- Occupations to be added:
  • lostmcgng
  • vagos
  • thefamily
  • ballas
  • marabunta

LIKE I SAID, THE SCRIPT IS NOT ME, IT IS AVAILABLE IN THE SCRIPT PRODUCER'S README. GOOD FORUMS
dfhfdcjfjfdcjfjfj
 

shifu

Gold Elite
Joined
May 4, 2025
Messages
51
Reaction score
37
Points
176
Location
Spain
HELLO, I DECIDED TO SHARE THE GANG SYSTEM I USED IN MY OWN PACK, BECAUSE IT IS NOT IN THE FORUM.
NOT THE MANUFACTURER, ONLY BALLAS-AZTEKAS-VAGOS
I ADDED ADDITIONAL LOST MC TO THE ARTICLES WITH STORAGE AND TOOLS EMAIL FOR GANGLER.
VEHICLE COLORS ARE SPECIAL TO EACH GANG. YOU CAN SET COORDINATES AND TOOLS TO BE REMOVED IN CONFIG.LUA.
TO ADD A NEW GANG, YOU MUST MODIFY CLIENT.LUA AND ADD X,Y,Z THROUGH THE CONFIGURATION.
YOU CAN CHANGE THE COLOR OF THE VEHICLES GIVEN ON THE CUSTOMER. I NEVER TRIED THE COLOR OF THE CAR FOR LOST MC. MUST TEST.
Code:​


Code:
function TakeOutVehicleLost(vehicleInfo)
    local coords = Config.Locations["ogcarspawnLost"].coords
    QBCore.Functions.SpawnVehicle(vehicleInfo, function(veh)
        SetVehicleNumberPlateText(veh, "OG"..tostring(math.random(1000, 9999)))
        local color = GetIsVehiclePrimaryColourCustom(veh)
        SetVehicleCustomPrimaryColour(veh, 1,1,1)
        SetVehicleCustomSecondaryColour(veh, 0,0,0)
        SetEntityHeading(veh, coords.h)
        exports['LegacyFuel']:SetFuel(veh, 100.0)
        closeMenuFull()
        TaskWarpPedIntoVehicle(GetPlayerPed(-1), veh, -1)
        TriggerEvent("vehiclekeys:client:SetOwner", GetVehicleNumberPlateText(veh))
        SetVehicleEngineOn(veh, true, true)
        CurrentPlate = GetVehicleNumberPlateText(veh)
    end, coords, true)
end


CLIENT.LUA - YOU CAN CHANGE THE VEHICLE COLOR BY CHANGEING THE NUMBERS FROM LINE 514 [ (veh, 1,1,1) ]. (FROM THE SECTION I GIVEN ABOVE)

ADDITIONAL THINGS YOU NEED TO DO:

- Occupations must be added to qb-core/shared.lua to open warehouses and garages.
- Occupations to be added:
  • lostmcgng
  • vagos
  • thefamily
  • ballas
  • marabunta

LIKE I SAID, THE SCRIPT IS NOT ME, IT IS AVAILABLE IN THE SCRIPT PRODUCER'S README. GOOD FORUMS
ERAHT
 
Top