1
0
Fork 0
forked from Simnation/Main

Update client.lua

This commit is contained in:
Nordi98 2025-08-05 09:56:00 +02:00
parent 2a4f65d95f
commit fae041a7d8

View file

@ -4,6 +4,23 @@ local trackingBlips = {}
local inTrackingZone = false
local currentLocation = nil
-- Safety check for Config
if not Config then
Config = {}
Config.TrackingLocations = {
{
coords = vector3(369.79, -1588.01, 29.43),
radius = 2.0,
job = {"police"},
label = "Polizei Tracking System"
}
}
Config.EnableCommand = true
Config.Command = "tracking"
Config.InteractKey = 38
print("^1Warning: Config not loaded properly, using default values^7")
end
-- Command to open tracking menu (if enabled in config)
if Config.EnableCommand then
RegisterCommand(Config.Command, function()
@ -30,6 +47,9 @@ if Config.EnableCommand then
end)
end
-- Rest of your client.lua code...
-- Check if player is near a tracking location
CreateThread(function()
while true do