Skip to content

Smokiiee/ps-camera

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ps-camera

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 qb-core > 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.'},
	['photo'] 				 		 = {['name'] = 'photo', 			  	  		['label'] = 'Saved Pic', 				['weight'] = 500, 		['type'] = 'item', 		['image'] = 'photo.png', 				['unique'] = true, 	['useable'] = true, 	['shouldClose'] = true,   ['combinable'] = nil,   ['description'] = 'Brand new picture saved!'},
  • Add pictures for items to your-inventory > html > images
  • Add Discord webhook to ps-camera > server > Line 4

Preview

  • Camera Overlay image

  • Picture Overlay image

Releases

No releases published

Packages

No packages published

Languages

  • Lua 58.6%
  • HTML 16.9%
  • CSS 12.8%
  • JavaScript 11.7%