Welcome to the forum, Guest

To access forum content and all of our services, you must register or log in to the forum. Joining the forum and all content on the forum is completely free.

The world's largest FiveM Forum and GTA 5 Forum address

Hello dear member,
We work 24/7 to provide the most valuable content that will be of use to you,
you can share content and support the entire FiveM & GTA 5 mods.

Script QBCore Gang System

Ares

VAG - VF
Head Admin
Joined
May 6, 2021
Messages
552
Reaction score
44,123
Points
411
Location
root
Website
vfivem.com
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
 

Ares

VAG - VF
Head Admin
Joined
May 6, 2021
Messages
552
Reaction score
44,123
Points
411
Location
root
Website
vfivem.com
 

vonti

Bronze Elite
Joined
May 24, 2021
Messages
5
Reaction score
3
Points
146
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
qbcore download?
 

lunchay1977

Silver Elite
Joined
Mar 25, 2021
Messages
75
Reaction score
8
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
 

Benceee

Bronze Elite
Joined
Jan 11, 2022
Messages
15
Reaction score
2
Points
106
Location
Amerika
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
 

ElTunazzz

Member
Joined
Jun 8, 2021
Messages
17
Reaction score
1
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
Nice
 

Sadeesha

Silver Elite
Joined
Mar 2, 2022
Messages
21
Reaction score
6
Points
96
Location
Srilanka
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
k
 

Ognjen12788

Silver Elite
Joined
May 20, 2021
Messages
35
Reaction score
19
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
 

cheelee_23

Bronze Elite
Joined
Apr 4, 2022
Messages
14
Reaction score
2
Points
96
Location
carcelen (Albacete)
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
god
 

ync_kay33

Member
Joined
Apr 7, 2022
Messages
8
Reaction score
1
Points
86
Location
United States
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
 

HatefulCOde

Silver Elite
Joined
Mar 4, 2022
Messages
22
Reaction score
10
Points
96
Location
Localhost
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
Nice
 

nunotap

Bronze Elite
Joined
Mar 9, 2022
Messages
10
Reaction score
4
Points
106
Location
Portugal
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
 

Lone

Member
Joined
Feb 15, 2022
Messages
9
Reaction score
0
Points
96
Location
São Paulo, Brasil
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
!!
 

tanken1

Member
Joined
Sep 8, 2021
Messages
6
Reaction score
0
Points
146
Location
Sverige
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
 

hamed ayash

Member
Joined
Jan 28, 2022
Messages
17
Reaction score
1
Points
96
Location
San Marino
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
 

Login or register to get more out of the forum!

Login or register to get more out of the forum!

Register

Creating an account on the forum is completely free.

Register now
Log in

If you have an account, please login

Log in

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds