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

nicoalonso

Silver Elite
Joined
Sep 24, 2021
Messages
19
Reaction score
8
Points
96
Location
Republic America
HOLA, DECIDÍ COMPARTIR EL SISTEMA DE PANDILLAS QUE USÉ EN MI PROPIO PACK, PORQUE NO ESTÁ EN EL FORO.
NO EL FABRICANTE, SOLO BALLAS-AZTEKAS-VAGOS
AÑADÍ MC PERDIDO ADICIONAL A LOS ARTÍCULOS CON CORREO ELECTRÓNICO DE ALMACENAMIENTO Y HERRAMIENTAS PARA GANGLER.
LOS COLORES DE LOS VEHÍCULOS SON ESPECIALES PARA CADA GRUPO. PUEDE ESTABLECER COORDENADAS Y HERRAMIENTAS A ELIMINAR EN CONFIG.LUA.
PARA AGREGAR UNA NUEVA GANG, DEBE MODIFICAR CLIENT.LUA Y AGREGAR X,Y,Z A TRAVÉS DE LA CONFIGURACIÓN.
SE PUEDE CAMBIAR EL COLOR DE LOS VEHÍCULOS DADOS AL CLIENTE. NUNCA PROBÉ EL COLOR DEL AUTO PARA LOST MC. DEBE PRUEBA.
Código:​


[CÓDIGO]función TakeOutVehicleLost(vehicleInfo)
coordenadas locales = Config.Ubicaciones["ogcarspawnLost"].coords
QBCore.Functions.SpawnVehicle(información del vehículo, función(veh)
SetVehicleNumberPlateText(veh, "OG"..tostring(math.random(1000, 9999)))
color local = GetIsVehiclePrimaryColourCustom(veh)
Establecer color primario personalizado del vehículo (veh, 1,1,1)
EstablecerVehículoPersonalizadoSecondaryColor(veh, 0,0,0)
SetEntityHeading(veh, coords.h)
exportaciones['LegacyFuel']:SetFuel(veh, 100.0)
closeMenuFull()
TaskWarpPedIntoVehicle(GetPlayerPed(-1), vehículo, -1)
TriggerEvent("vehiclekeys:client:SetOwner", GetVehicleNumberPlateText(veh))
SetVehicleEngineOn(veh, verdadero, verdadero)
PlacaActual = GetVehicleNumberPlateText(veh)
fin, coordenadas, verdadero)
fin[/CÓDIGO]


CLIENTE.LUA - PUEDES CAMBIAR EL COLOR DEL VEHÍCULO CAMBIANDO LOS NÚMEROS DE LA LÍNEA 514 [(veh, 1,1,1)]. (DE LA SECCIÓN QUE DI ANTERIORMENTE)

COSAS ADICIONALES QUE NECESITA HACER:

- Se deben agregar ocupaciones a qb-core/shared.lua para abrir almacenes y garajes.
- Ocupaciones a añadir:
  • perdidomcgng
  • vagos
  • la familia
  • balas
  • marabunta

COMO DIJE, EL GUIÓN NO SOY YO, ESTÁ DISPONIBLE EN EL LÉAME DEL PRODUCTOR DEL GUIÓN. BUENOS FOROS
 

shayoga

Member
Joined
Apr 26, 2022
Messages
11
Reaction score
0
Points
26
Location
Indonesia
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
i like
 

ciccia

Member
Joined
Dec 6, 2021
Messages
5
Reaction score
1
Points
51
Location
America
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
 

NeDomuxas

Member
Joined
May 1, 2022
Messages
2
Reaction score
0
Points
16
Location
Lithuania
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
 

HatefulCOde

Silver Elite
Joined
Mar 4, 2022
Messages
20
Reaction score
10
Points
26
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
 

Sadeesha

Bronze Elite
Joined
Mar 2, 2022
Messages
13
Reaction score
2
Points
26
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
gg
 

ursaminor

Member
Joined
Apr 22, 2022
Messages
10
Reaction score
0
Points
26
Location
Indonesia
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
NICEE
 

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