Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 782 Bytes

README.md

File metadata and controls

35 lines (30 loc) · 782 Bytes

wert-camera

Camera script for ESX Legacy and ox_inventory converted from https://github.com/Wert22/wert-camera ! Thanks to Luke and overextended team for help!!!

IMPORTANT

Change WebHook in server.lua!

Requirements

ESX_Legacy

ox_inventory

Insert items in your data/items.lua

['camera'] = {
label = 'Camera',
weight = 900,
close = true,
stack = false,
description = 'Used to take photos'
},
['photo'] = {
label = 'Photo',
weight = 70,
close = true,
stack = false,
description = 'Photo'
}

Add this to your ox_inventory/modules/items/client.lua

Item('photo', function(data, slot)
    TriggerEvent('wert-camera:client:use-photo', slot.metadata.photourl)
end)