made server table for presses, will do same for lab kits
This commit is contained in:
Mustache Dom committed 2024-11-22 01:35:25 -08:00
1 parent 6df0983273
commit c2fddd6144
11 files changed
+85 -173

No files matched your search

+2
View File
@@ -123,8 +123,10 @@ function checkLoc(source, event, num)
end
local dist = #(coord - loc)
if dist < 2.5 then
Log(GetName(source) .. ' Triggered the table ' .. event .. ' Within The Correct Distance', 'locations')
return true
else
Log(GetName(source) .. ' Triggered the table ' .. event .. ' Not Within The Correct Distance', 'locations')
Notifys(source, 'You are not in the correct location', 'error')
return false
end