Community Feedback on cache
serverid in cache is pointless and will never change unit tests are not actually unit tests so i renamed to examples.
This commit is contained in:
1 parent
fd28d9a1a6
commit
cdeba0652d
8 files changed
+9
-28
No files matched your search
@@ -3,6 +3,7 @@ local blipIDs = {}
|
||||
local spawnedPeds = {}
|
||||
|
||||
Locales = Locales or Require('modules/locales/shared.lua')
|
||||
Point = Point or Require('lib/points/client/pointsv2.lua')
|
||||
|
||||
---Get the hash of a model (string or number)
|
||||
---@param model string|number
|
||||
@@ -410,8 +411,8 @@ function Utility.GetClosestVehicle(coords, distanceScope, includePlayerVeh)
|
||||
end
|
||||
|
||||
-- Deprecated point functions (no changes)
|
||||
function Utility.RegisterPoint(pointID, pointCoords, pointDistance, _onEnter, _onExit, _nearby)
|
||||
return Point.Register(pointID, pointCoords, pointDistance, nil, _onEnter, _onExit, _nearby)
|
||||
function Utility.RegisterPoint(pointID, pointCoords, pointDistance, _onEnter, _onExit)
|
||||
return Point.Register(pointID, pointCoords, pointDistance, nil, _onEnter, _onExit)
|
||||
end
|
||||
|
||||
function Utility.GetPointById(pointID)
|
||||
|
||||
Reference in new issue
Block a user