STG ScriptsDocumentation
Custom Frame

Custom Frame

Players hang their own pictures anywhere in the world, from an image link or an in-game photo. Frames are saved and stay after a restart.

STG Custom Frame lets players hang their own pictures anywhere on the map. They use the frame item, paste an image link or take an in-game photo, then aim at a wall and place it. Every frame is saved in the database and is still there after a restart.

Features

Any image

Paste a direct image link and see a preview in the menu before you hang it.

In-game photos

Take a picture with the phone camera. It is uploaded through your Discord webhook and goes straight into the frame.

Place it anywhere

Aim at a wall, floor or ceiling up to 8 metres away. A live preview follows your aim and lines up with the surface.

Inspect

With ox_target or qb-target, players can zoom the camera in on a frame for a close look.

Owner and admin control

Only the owner can take a frame down and get the item back. Admins can list, visit and delete every frame.

Light on performance

Pictures only load for players within 50 metres and unload again when they walk away.

At a glance

FramesPlaced in-game by players with the frame item, 0.65 m square
ImagesDirect image links or in-game photos
Admin menu/frameadmin
FrameworksESX, QBCore, QBOX through stg_lib
Languages15 included

Next steps

Still having trouble?

Open a ticket on our Discord. Our team answers around 15 hours a day.

Get help on Discord

On this page