diff --git a/lib/entities/server/entity_relay.lua b/lib/entities/server/entity_relay.lua index 5c2f2d0..5c75eb4 100644 --- a/lib/entities/server/entity_relay.lua +++ b/lib/entities/server/entity_relay.lua @@ -1,8 +1,6 @@ - -- Objects Ids = Ids or Require("lib/utility/shared/ids.lua") - local Entities = {} EntityRelay = {} @@ -45,21 +43,4 @@ function EntityRelay.LoadModel(model) return Utility.LoadModel(model) end -return EntityRelay - - - -- RegisterCommand("entityobj", function() - -- local entity = Bridge.Object.Create({ - -- id = "something", -- optional - -- model = "prop_beach_fire", - -- coords = GetEntityCoords(PlayerPedId()), - -- rotation = vector3(0.0, 0.0, 0.0), - -- }) - -- Bridge.Object.SetOnSpawn("something", function(self, coords, rotation) - -- print("Entity spawned") - -- end) - - -- Bridge.Object.SetOnRemove("something", function(self, entity) - -- print("Entity removed") - -- end) - -- end) \ No newline at end of file +return EntityRelay \ No newline at end of file diff --git a/lib/points/client/points.lua b/lib/points/client/points.lua index e5e23b5..9acf9d5 100644 --- a/lib/points/client/points.lua +++ b/lib/points/client/points.lua @@ -242,25 +242,4 @@ function Point.GetAll() return ActivePoints end --- Usage example for checking nearby points --- -- --- ▀█▀ █▄█ █ ▄▀▀ █ ▄▀▀ █▀ █ █ ▄▀▀ █▄▀ █ █▄ █ ▄▀ █▄█ ▄▀▄ ▀█▀ █▀▄ ▄▀▄ █ █▄ █ ▀█▀ ▄▀▀ █▀ ▄▀▄ █▀▄ ▄▀▀ █▀▄ ▄▀▄ █ █ █ ██▀ ▀▄▀ --- █ █ █ █ ▄█▀ █ ▄█▀ █▀ ▀▄█ ▀▄▄ █ █ █ █ ▀█ ▀▄█ █ █ ▀▄▀ █ ██ █▀ ▀▄▀ █ █ ▀█ █ ▄█▀ █▀ ▀▄▀ █▀▄ ▀▄▄ █▀▄ ▀▄▀ ▀▄▀▄▀ █▄▄ █▄▄ █ ---[[ -Point.Register("point1", vector3(100, 100, 30), 5.0, - function(point) - print("Entered point1") - end, - function(point) - print("Exited point1") - end, - function(nearbyPoints) - print("Point1 has nearby points:") - for id, point in pairs(nearbyPoints) do - print("- " .. id .. " at distance: " .. #(point.coords - ActivePoints["point1"].coords)) - end - end -) ---]] - return Point \ No newline at end of file