burnoutprojects / ps-camera

Script for capturing images.

Home Page:https://discord.gg/projectsloth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[WIP] ps-camera

Port ps-camera to ESX framework

The ps-camera script allows you to capture images throughout the city, serving as a tool for gathering evidence or simply snapping enjoyable photos!

Setup

  • Add items to qs-inventory > shared > items.lua
	['camera'] = {
		['name'] = 'camera',
		['label'] = 'Camera',
		['weight'] = 1000,
		['type'] = 'item',
		['image'] = 'camera.png',
		['unique'] = true,
		['useable'] = true,
		['shouldClose'] = true,
		['combinable'] = nil,
		['description'] = 'Camera to take pretty pictures.',
		['created'] = nil,
		['delete'] = false
	},
	['photo'] = {
		['name'] = 'photo',
		['label'] = 'Photo',
		['weight'] = 100,
		['type'] = 'item',
		['image'] = 'photo.png',
		['unique'] = true,
		['useable'] = true,
		['shouldClose'] = true,
		['combinable'] = nil,
		['description'] = 'Brand new picture saved!',
		['created'] = nil,
		['delete'] = false
	},
  • Add pictures for items to qs-inventory > html > images
  • Add Discord webhook to ps-camera > server > config.lua [Line 3]

Preview

  • Camera Overlay image

  • Picture Overlay image

About

Script for capturing images.

https://discord.gg/projectsloth

License:Other


Languages

Language:Lua 61.5%Language:HTML 15.8%Language:CSS 12.0%Language:JavaScript 10.6%