100 online 3 members  + Join RP Base  +
FreeScriptQBox

y_camera

by TonybynMp4  ·  version 2025.06.03  ·  updated 3 days ago

No reviews yet

Downloads
0
Reviews
0
Size
87 KB
Code check
Clean
Licence
GPL-3.0
Released
Nov 2026

A camera script for the Qbox Framework

y_camera
y_camera
A camera script for the Qbox Framework using fivemanage.

Know issue
Due to FiveM weirdness, users of NVE may encounter a problem where all the photos taken through scripts in game ends up being either a black or blue screen.

This issue is not related to this script and occurs regardless of the "screenshoting" resource used (screenshot-basic, fmsdk, ScreenCapture, etc.).

This can however pretty easily be fixed this way:
  • Open ReShade,
  • Click addons
  • Disable Reshade effect shader toggler at the bottom
  • Restart the game to apply the change
Dependencies Installation
  1. Download the script and put it in your resources folder.
  2. Add ensure y_camera to your server.cfg
  3. Add the following items to ox_inventory

['camera'] = {
    label = 'Camera',
    weight = 1500,
    stack = false,
    close = true,
    client = {
        event = "y_camera:client:openCamera"
    },
    buttons = {
        {
            label = 'View photos',
            action = function(slot)
               exports.y_camera:ShowScreen(slot)
               client.closeInventory()
            end
        },
    }
    description = "A professional camera to take a sneaky picture of your neighbor's wife!"
},

['photo'] = {
    label = 'Photo',
    weight = 100,
    stack = true,
    close = true,
    buttons = {
        {
            label = 'Show',
            action = function(slot)
                exports.y_camera:ShowPicture(slot)
                client.closeInventory()
            end
        },
        {
            label = 'Edit',
            action = function(slot)
                exports.y_camera:EditPicture(slot)
            end
        },
        {
            label = 'Get Link',
            action = function(slot)
                exports.y_camera:CopyURL(slot)
            end
        }
    },
    description = "A photo taken with a camera."
},