[Release] Security Cams

So, the ESX version is soon ready for release. I will contact you before xander so you know and can see the code :slight_smile:

1 Like

Make sure to look at the last couple commits I pushed so that you can fix the bugs I fixed.

Yes I will do that right away!

EDIT: Fixed! Just some small changes tomorrow :slight_smile:

1 Like

Those Screen Effects are amazing though! itā€™d be better if GTA WOULD INVENT RECORDING WITH A UI ON SCREEN!

i blame rockstargames
XD

Most people record anyways so :man_shrugging:

true. you got that right i just think if gta invented that so like you can have the real security cameras go back in time etc

It would still require someone to be controlling the camera.

@xander1998 I made a pull request yesterday on your github for the GPS bug. When you closed the cameras you never got back your GPS. I fixed that for you so just take my pull request. The ESX version is soon complete.

I already use this on ESX and there is absolutly no problem ? How can you say that a version for ESX is soon complete XD

He is making it job restricted or somethingā€¦

Because Iā€™m making it so only polices can use it etc. I know the original script works fine, but Iā€™m just adding a bit extra for the ESX users.

har sett att du har laddat upp det nu lƶv u

{label = ā€œCamera 1ā€, x = 257.45, y = 210.07, z = 109.08, r = {x = -25.0, y = 0.0, z = 28.05}} I assume the first is the coordinate the camera is viewing, and the second where you stand to view, or is it the other way around?

First set is the general placement of the camera
Second is the rotation of the camera

Please forgive my ignoranceā€¦ I know how to get coords for placement, how do I get coords for rotation?

I give you the option for debug mode in the config which shows 3D coords on your location display X, Y, Z, RotationXYZ

1 Like

This is such a dope script, just like your others.

1 Like

Thanks


SecurityCamConfig.Locations = {
    {
        camBox = {label = "Pacific Standard Bank", x = 283.67, y = 264.41, z = 105.80},
        cameras = {
            {label = "Camera 1", x = 257.45, y = 210.07, z = 109.08, r = {x = -25.0, y = 0.0, z = 28.05}},
            {label = "Camera 2", x = 269.66, y = 223.67, z = 113.23, r = {x = -30.0, y = 0.0, z = 111.29}},
            {label = "Camera 3", x = 241.64, y = 233.83, z = 111.48, r = {x = -35.0, y = 0.0, z = 120.46}},
            {label = "Camera 4", x = 232.86, y = 221.46, z = 107.83, r = {x = -25.0, y = 0.0, z = -140.91}},
            {label = "Camera 5", x = 261.50, y = 218.08, z = 107.95, r = {x = -25.0, y = 0.0, z = -149.49}},
            {label = "Camera 6", x = 261.98, y = 217.92, z = 113.25, r = {x = -40.0, y = 0.0, z = -159.49}},
            {label = "Camera 7", x = 258.44, y = 204.97, z = 113.25, r = {x = -30.0, y = 0.0, z = 10.50}},
            {label = "Camera 8", x = 235.53, y = 227.37, z = 113.23, r = {x = -35.0, y = 0.0, z = -160.29}},
            {label = "Camera 9", x = 254.72, y = 206.06, z = 113.28, r = {x = -35.0, y = 0.0, z = 44.70}},
            {label = "Camera 10", x = 269.89, y = 223.76, z = 106.48, r = {x = -35.0, y = 0.0, z = 112.62}},
            {label = "Camera 11", x = 252.27, y = 225.52, z = 103.99, r = {x = -35.0, y = 0.0, z = -74.87}}
        },
        allowedModels = {}
    }
}

Blockquote

Last question, where would I begin the next location? I have tried so far and failed, then looked through the string again to make sure nobody else asked.

Im on mobileā€¦ so copy pasting is not pretty.

SecurityCamConfig.Locations = {
    {
        camBox = {label = "Pacific Standard Bank", x = 283.67, y = 264.41, z = 105.80},
        cameras = {
            {label = "Camera 1", x = 257.45, y = 210.07, z = 109.08, r = {x = -25.0, y = 0.0, z = 28.05}},
            {label = "Camera 2", x = 269.66, y = 223.67, z = 113.23, r = {x = -30.0, y = 0.0, z = 111.29}},
            {label = "Camera 3", x = 241.64, y = 233.83, z = 111.48, r = {x = -35.0, y = 0.0, z = 120.46}},
            {label = "Camera 4", x = 232.86, y = 221.46, z = 107.83, r = {x = -25.0, y = 0.0, z = -140.91}},
            {label = "Camera 5", x = 261.50, y = 218.08, z = 107.95, r = {x = -25.0, y = 0.0, z = -149.49}},
            {label = "Camera 6", x = 261.98, y = 217.92, z = 113.25, r = {x = -40.0, y = 0.0, z = -159.49}},
            {label = "Camera 7", x = 258.44, y = 204.97, z = 113.25, r = {x = -30.0, y = 0.0, z = 10.50}},
            {label = "Camera 8", x = 235.53, y = 227.37, z = 113.23, r = {x = -35.0, y = 0.0, z = -160.29}},
            {label = "Camera 9", x = 254.72, y = 206.06, z = 113.28, r = {x = -35.0, y = 0.0, z = 44.70}},
            {label = "Camera 10", x = 269.89, y = 223.76, z = 106.48, r = {x = -35.0, y = 0.0, z = 112.62}},
            {label = "Camera 11", x = 252.27, y = 225.52, z = 103.99, r = {x = -35.0, y = 0.0, z = -74.87}}
        },
        allowedModels = {}
    },
   {
        camBox = {label = "Pacific Standard Bank", x = 283.67, y = 264.41, z = 105.80},
        cameras = {
            {label = "Camera 1", x = 257.45, y = 210.07, z = 109.08, r = {x = -25.0, y = 0.0, z = 28.05}},
            {label = "Camera 2", x = 269.66, y = 223.67, z = 113.23, r = {x = -30.0, y = 0.0, z = 111.29}},
            {label = "Camera 3", x = 241.64, y = 233.83, z = 111.48, r = {x = -35.0, y = 0.0, z = 120.46}},
            {label = "Camera 4", x = 232.86, y = 221.46, z = 107.83, r = {x = -25.0, y = 0.0, z = -140.91}},
            {label = "Camera 5", x = 261.50, y = 218.08, z = 107.95, r = {x = -25.0, y = 0.0, z = -149.49}},
            {label = "Camera 6", x = 261.98, y = 217.92, z = 113.25, r = {x = -40.0, y = 0.0, z = -159.49}},
            {label = "Camera 7", x = 258.44, y = 204.97, z = 113.25, r = {x = -30.0, y = 0.0, z = 10.50}},
            {label = "Camera 8", x = 235.53, y = 227.37, z = 113.23, r = {x = -35.0, y = 0.0, z = -160.29}},
            {label = "Camera 9", x = 254.72, y = 206.06, z = 113.28, r = {x = -35.0, y = 0.0, z = 44.70}},
            {label = "Camera 10", x = 269.89, y = 223.76, z = 106.48, r = {x = -35.0, y = 0.0, z = 112.62}},
            {label = "Camera 11", x = 252.27, y = 225.52, z = 103.99, r = {x = -35.0, y = 0.0, z = -74.87}}
        },
        allowedModels = {}
    }
}