mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-19 06:46:04 +01:00
Merge pull request #57 from oosayeroo/main
This commit is contained in:
@@ -20,6 +20,13 @@ local camCache = {}
|
|||||||
function createTempCam(ent, coords)
|
function createTempCam(ent, coords)
|
||||||
local camID = nil
|
local camID = nil
|
||||||
if Config.Crafting?.craftCam or Config.System.enableCam then
|
if Config.Crafting?.craftCam or Config.System.enableCam then
|
||||||
|
|
||||||
|
if not ent and not coords then
|
||||||
|
camID = CreateCam("DEFAULT_SCRIPTED_CAMERA", true)
|
||||||
|
camCache[#camCache+1] = camID
|
||||||
|
return camID
|
||||||
|
end
|
||||||
|
|
||||||
debugPrint("^6Bridge^7: ^2Custom Camera Created")
|
debugPrint("^6Bridge^7: ^2Custom Camera Created")
|
||||||
|
|
||||||
local camCoords = nil
|
local camCoords = nil
|
||||||
|
|||||||
Reference in New Issue
Block a user