cleanup (use unit tests)
This commit is contained in:
1 parent
801db83402
commit
d1da9710da
2 files changed
+1
-41
No files matched your search
@@ -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)
|
||||
return EntityRelay
|
||||
Reference in new issue
Block a user