Core Drogen (qbCore)
Umfassendes Drogensystem für qbCore mit Anbau, Verarbeitung und Verkauf. Inklusive ansprechender Benutzeroberfläche und detaillierten Animationen.
Video-Vorschau
Click to load video from Streamable. By watching, you agree to their privacy policy.
- Pflanzen anbauen
- Drogen selbst herstellen
- Verarbeitungstische
- Wachstumsgeschwindigkeitszonen
- Drogen an NPC verkaufen
- Animierte Konsum
- Verschiedene Pflanzentypen
- Moderne Benutzeroberfläche
- ESX
Config = {
OnlyZones = false, — Erlaube den Drogenanbau nur in definierten Zonen
GlobalGrowthRate = 10, — In wie vielen Sekunden die Pflanze aktualisiert wird (Bei 100% Wachstumsrate wächst die Pflanze um 1% bei jedem Update)
DefaultRate = 10, — Standardwachstumsrate der Pflanzen außerhalb der Zone
WeightSystem = true, — Verwenden des ESX-Gewichtssystems
Zones = {
{
Coords = vector3(1854.1574707031,4907.66015625,44.745887756348),
Radius = 100.0,
GrowthRate = 30.0,
Display = true,
DisplayBlip = 469, — Wähle das Blip aus (https://docs.fivem.net/docs/game-references/blips/)
DisplayColor = 2, — Wähle die Blip-Farbe aus (https://docs.fivem.net/docs/game-references/blips/)
DisplayText = ‘Weed Zone’,
Exclusive = {‘weed_lemonhaze_seed’} — Typen von Drogen, die in diesem Bereich betroffen sind.
},
PlantWater = {
[‘water’] = 10 — Artikel und Prozent, das dem Gesamtwasser der Pflanze hinzugefügt wird
},
PlantFood = {
[‘fertilizer’] = 15 — Artikel und Prozent, das dem Gesamtfutter der Pflanze hinzugefügt wird
},
Plants = { — Erstelle Samen für Drogen
[‘weed_lemonhaze_seed’] = {
Label = ‘Lemon Haze’,
Type = ‘weed’,
Image = ‘weed.png’,
PlantType = ‘plant1’,
Color = ‘122, 232, 19’,
Produce = ‘weed_lemonhaze’,
Amount = 3,
SeedChance = 50,
Time = 3000
},
[‘coca_seed’] = {
Label = ‘Coca Plant’,
Type = ‘cocaine’,
Image = ‘coca.png’,
PlantType = ‘plant2’,
Color = ‘255, 255, 255’,
Produce = ‘coca’,
Amount = 3,
SeedChance = 50,
Time = 3000
},
},
ProcessingTables = { — Erstelle Verarbeitungstisch
[‘cocaine_processing_table’] = {
Label = ‘Cocaine’,
Model = ‘bkr_prop_coke_table01a’,
Color = ‘255, 255, 255’,
Item = ‘cocaine’,
Time = 10,
Ingrediants = {
[‘coca’] = 3,
[‘fuel’] = 1
}
},
},
Drugs = { — Erstelle deine eigenen Drogen
[‘weed_lemonhaze’] = {
Label = ‘Lemon Haze’,
Animation = ‘blunt’,
Time = 30,
Effects = {
‘intenseEffect’,
‘healthRegen’,
‘moreStrength’,
‘drunkWalk’
}
},
[‘cocaine’] = {
Label = ‘Cocaine’,
Animation = ‘sniff’,
Time = 60,
Effects = {
‘runningSpeedIncrease’,
‘infinateStamina’,
‘fogEffect’,
‘psycoWalk’
}
},
},
Dealers = {
{
Ped = ‘g_m_importexport_01’,
Coords = vector3(167.51689147949,6631.5473632813,30.527015686035),
Heading = 200.0,
Prices = {
[‘weed_lemonhaze’] = 10
}
},
},
Text = {
[‘planted’] = ‘Seed was planted!’,
[‘feed’] = ‘Plant was fed!’,
[‘water’] = ‘Plant was watered!’,
[‘destroy’] = ‘Plant was destroyed!’,
[‘harvest’] = ‘You harvested the plant!’,
[‘cant_plant’] = ‘You cant plant here!’,
[‘processing_table_holo’] = ‘~r~E~w~ Processing Table’,
[‘cant_hold’] = ‘You dont have space for this item!’,
[‘missing_ingrediants’] = ‘You dont have these ingrediants’,
[‘dealer_holo’] = ‘~g~E~w~ Sell drugs’,
[‘sold_dealer’] = ‘You sold drugs to dealer! +$’,
[‘no_drugs’] = ‘You dont have enough drugs’
}
}
— Ändere nur, wenn du weißt, was du tust!
function SendTextMessage(msg)
SetNotificationTextEntry(‘STRING’)
AddTextComponentString(msg)
DrawNotification(0,1)
–EXAMPLE USED IN VIDEO
–exports[‘mythic_notify’]:DoHudText(‘error’, msg)
end


