Merge pull request #157 from TheOrderFivem/crowleys-branch

Add deprecated args field to Point.Register

**HOTFIX**
This commit is contained in:
MrNewb authored and GitHub committed 2025-09-10 18:53:05 -04:00
commit 5e321867e6
1 file changed
+1
+1
View File
@@ -99,6 +99,7 @@ function Point.Register(id, target, distance, args, _onEnter, _onExit, _onUpdate
self.onExit = _onExit or function() end
self.onUpdate = _onUpdate or function() end
self.inside = false -- Track if player is inside
self.args = args or {} --DEPRICATED 2025-09-10
local grid = Grid.GetCellByCoords(coords)
grid[id] = self
Point.All[id] = self