- big change, moved data to shared folder

This commit is contained in:
Mustache Dom committed 2026-01-31 02:05:15 -07:00
1 parent fdc28723bc
commit c7eca0285b
52 files changed
+1117 -1128

No files matched your search

+1 -8
View File
@@ -1,11 +1,4 @@
Locations = Locations or {}
Locations.Pharma = {
FillPrescription = { -- where to fill out your prescription
{loc = vector3(2855.62, 4446.73, 48.53), size = vector3(1.0, 1.0, 2.0), gang = ""},
},
}
GlobalState.MDDrugsLocations = Locations
local function GetJob(source)
local src = source
@@ -72,7 +65,7 @@ RegisterServerEvent('md-drugs:server:fillprescription', function(num)
local src = source
if timeOut(src, 'md-drugs:server:fillprescription') then return end
if not checkDistance(src, Locations.Pharma.FillPrescription[num].loc, 3.5, 'md-drugs:server:fillprescription') then
if not checkDistance(src, Config.Pharma.Locations.FillPrescription[num].loc, 3.5, 'md-drugs:server:fillprescription') then
return
end
local pres = {