1
0
Fork 0
forked from Simnation/Main

[Garage] Target verschoben

This commit is contained in:
Miho931 2025-06-08 15:23:54 +02:00
parent 7ba21dc78b
commit 0e0f3736ba

View file

@ -65,8 +65,9 @@ CreateThread(function()
local spawnDistance = v.NPC.distance
if dist < spawnDistance and not isNPCSpawned then
AddTargetOptions()
SpawnGuardNPC(v.NPC)
Wait(300)
AddTargetOptions()
elseif dist > spawnDistance and isNPCSpawned then
exports['qb-target']:RemoveTargetEntity(npcHandle)
RemoveGuardNPC()