[Release] FF Security | CCTV Camera Menu | Ace Permissions | Rotating/Zoom/Scrolling

FF Security :camera:

FF Security is a system for FiveM that allows members with permissions (Police) to monitor & view a variety of cameras in your server. It also has an export, to implement, what camera was triggered, into your police alerts.

The config is very self-explanatory and it’s rather simple to add new cameras, with rotation lock and camera quality.


Screenshots

Resource:

Performance:

  • 0.01ms - When idle and in the camera menu.

  • 0.21ms - When in a camera, handling the camera UI and controls scaleform, it returns to 0.01ms when you close the camera.


Installation & Usage

  1. Download the resource and the depencies from GitHub.
  2. Add the resource to your resources folder.
  3. In your server.cfg add ensure ff_security to it, so the resource starts.
  4. /cctv - Toggles the security menu that allows you to select the category assigned to said camera, which then has a location, which lets you select from all of the cameras at that location.

Permissions Setup

Add your identifier of your choice into the ace setup, like below!

# FF Aces
add_ace FF.Security ff-security allow
add_principal identifier.license:02sjdwdw4 FF.Security # Players Name
21 Likes

Sounds great! Thanks for sharing!

1 Like

how to disable ace permission? I would just like to set the condition job = cops, but I can’t.

Yes i think so.

No problem, enjoy, if you have any problems or bugs, make sure you report them in our Discord, so we can get them sorted straight away.

You can turn off ace permissions in the config, shared/shared.lua/CCTV_Config.UseAces just set that to false.

Now if you want to use ESX or VRP, either you or someone else will have to do that, as we’ve never used those frameworks; So, we’re unable to do so.

Awesome! Looks great

1 Like

Its a great release but its not that optimized.

No problem, enjoy.

It’s very optimized, the only reason it hits 0.20ms, as it is drawing 2 scaleforms at once, it doesn’t affect FPS, and the memory doesn’t go over 800KB.

If you want to decrease the 0.20ms make a fork on GitHub and we’ll take a look.

1 Like

Did you even check the code? Or did you just assume it’s not optimized by just checking the screenshot of the usage?

As @FiveForge_Studios said, drawing scaleforms itself will cause that usage while in the scaleform.

Well not all scaleforms, it depends on which ones and how they’re drawn, e.g. Top left notification or something similar will draw around 0.20ms - 0.40ms, which is pretty standard.

The controls scaleform, uses about 0.20ms, if he really wants to remove that, for lower ms, whilst in a camera, he is welcome to :D.

The code is free to edit as you like, just don’t repost it, use it in something else without permission from us, or claim it as your own.

1 Like

Very trueee :slight_smile:

Not works witch me…

[    122922] [b2189_GTAProce]             MainThrd/ Started resource lx_security
[    122922] [b2189_GTAProce]             MainThrd/ 
[    122969] [b2189_GTAProce]  UV loop: httpClient/ Required resources: lx_security 
[    122969] [b2189_GTAProce]                15452/ Error: Couldn't load resource lx_security: Couldn't parse URI.
[    122985] [b2189_GTAProce]                15452/ Killing network: Couldn't load resource lx_security: Couldn't parse URI.
[    123594] [b2189_GTAProce]             MainThrd/ OnConnectionProgress: Mounted lx_security (1 of 1)
[    123688] [b2189_GTAProce]             MainThrd/ Killing network, stage 2...
[    123719] [b2189_GTAProce]        CrBrowserMain/ Uncaught TypeError: Cannot read property 'postMessage' of null (@game/ui/root.html:60)

Sorry for the late response, I did reply but I guess it wasn’t accepted.

If you go on the Github download, you will find where we supply all of our support.

Thanks.

2 Likes

is here a English version?

Hell guys i need help i was able to installed it to my config and ensure it but when i do CCTV nothing happens?? Any help i would appreciate it!

Hello! I entered the identification as described. However, I get the message. That I don’t have permission to do this. what can be the reason?

I don’t understand how to setup the ace perms. like i just want myself and no one other to have access to it, but i dont know how to do it, please help

You put this lines in your server.cfg

# LX Aces
add_ace LX.Security lx-security allow
add_principal identifier.license:**YOURID** LX.Security # Players Name

YourID you will found in txadmin. You can also use identifier.steam:YOURID ando so on.

've a nice day.

Required resources: lx_security 

Take a look in fxmanifest

I can’t set permissions. Please help me :face_with_spiral_eyes: