edit checkDistance
This commit is contained in:
1 parent
df9584711a
commit
fb500dc502
16 files changed
+52
-88
No files matched your search
+1
-1
@@ -116,7 +116,7 @@ Bridge.Callback.Register('md-drugs:server:registerLean', function(source, loc, v
|
||||
if onRun[src] then
|
||||
return false
|
||||
else
|
||||
if not checkDistance(src, Locations.Lean.SyrupVendor[loc].loc, 5.0) then
|
||||
if not checkDistance(src, Locations.Lean.SyrupVendor[loc].loc, 5.0, 'md-drugs:server:registerLean') then
|
||||
return false
|
||||
end
|
||||
if not vehicleNetId then
|
||||
|
||||
Reference in new issue
Block a user