edit checkDistance
This commit is contained in:
1 parent
df9584711a
commit
fb500dc502
16 files changed
+52
-88
No files matched your search
@@ -20,8 +20,7 @@ RegisterNetEvent("md-drugs:server:drymescaline", function(num)
|
||||
local src = source
|
||||
if timeOut(src, 'md-drugs:server:drymescaline') then return end
|
||||
|
||||
if not checkDistance(src, Locations.Mescaline.DryOutMescaline[num].loc, 3.0) then
|
||||
Bridge.Prints.Warn(src, Bridge.Language.Locale('Catches.notIn'), "error")
|
||||
if not checkDistance(src, Locations.Mescaline.DryOutMescaline[num].loc, 3.0, 'md-drugs:server:drymescaline') then
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user