#[FREE] EVIDENCE SCRIPT by LeSiiN

1 messages Β· Page 2 of 1

ripe widget
#

anyone ever had this issue while pulling out the laser pointer? im standing on top of bullet casings

languid spindle
#

its not casings

#

its bullet holes

ripe widget
ripe widget
#

yup! got it

#

thanks

sage blade
#

Hey, I noticed that the drawlines don't actually work per player in server .. oly works for the same player .. so even though a crim shoots and I have a PD job , their lines still show up as green to me but when they check its shown as red .. and vice versa .. they see pd lines as red and crim lines as red

languid spindle
#

Thats weird

ripe widget
# languid spindle Thats weird

yoooo! so im running qs inventory...so i cant access my js.app in configs....BUT!...i do have a metadata.js could the code be added in there??

ripe widget
# sullen yoke Yeah it's the same

if i sent you the meta.js, could you drop the code in it for me? or if i sent you a screenshot? i tried it earlier and the code was broken so i stopped and wanted to make sure before i proceeded

dim yacht
#

πŸ˜‚πŸ˜‚

sullen yoke
# languid spindle Hell no πŸ˜‚
#

Might be nice to add and give credit

#

If it's not there already

languid spindle
#

Nah i dont feel that

#

The readme is a mess already

sullen yoke
#

aah haha

ripe widget
languid spindle
burnt glade
#

Very cool

ripe widget
young fox
sullen yoke
#

Not as of right now

#

Will work towards it

sullen yoke
languid spindle
#

Pushed β™₯️

#

Thank u

sullen yoke
#

Just doing my job 🫑

languid spindle
#

Wooow

sullen yoke
#

Epic!

sullen yoke
#

Little item snippet for those who use ox inventory and want to copy over the data to check with ps-mdt for example

["filled_evidence_bag"] = {
        label = "Evidence Bag",
        weight = 200,
        stack = false,
        close = true,
        description = "A filled evidence bag to see who committed the crime>:(",
        client = {
            image = "evidence.png",
        },
        buttons = {
            {
                label = 'Copy Serial Number',
                action = function(slot)
                    local item = exports.ox_inventory:Search('slots', 'filled_evidence_bag')
                    for _, v in pairs(item) do
                        if (v.slot == slot) then
                            if (v.metadata.type == 'casing') then
                                lib.setClipboard(v.metadata.serie)
                            elseif (v.metadata.type == 'vehiclefragment') then
                                lib.setClipboard(v.metadata.serie)
                            elseif (v.metadata.type == 'bullet') then
                                lib.setClipboard(v.metadata.serie)
                            elseif (v.metadata.type == 'fingerprint') then
                                lib.setClipboard(v.metadata.serie)
                            elseif (v.metadata.type == 'blood') then
                                lib.setClipboard(v.metadata.dnalabel)
                            end
                        end
                    end
                end
            },
        },
    },
elder zenith
fathom hill
#

@sullen yoke Do Yk Why Itd Throw This?

languid spindle
#

Because u messed up the config

#

U did change something there and messed up

young fox
sullen yoke
#

Or atleast the evidence.lua

#

The main.lua from server might need an update

languid spindle
#

What changed?

young fox
languid spindle
#

Yeah saw that, meant the code

young fox
#

I don't know if the code has been changed

sullen yoke
stray plover
elder zenith
#

Anyone know of good evidence locker scripts for qbcore?

sullen yoke
#

evidence locker is already part of the policejob, doesnt matter if its qb or hidev

sleek swan
#

Go ask them for help

full karma
#

Hi the laserpointer option is awsome, but i got a little issue with the blood drop.
I dont get any blood drops

languid spindle
#

because i dont do blood drops

#

blood drops are from ambulancejob

full karma
#

Okay, i tried to implement the Trigger but i realy dont know where to implement it -.- so i gues i dont use blood drops πŸ˜‚

languid spindle
#

its already a thing in ambulancejob

#

u dont need to add anything

full karma
#

mhh true.. weird, then i dont know why i dont get drops

languid spindle
#

u need to bleed

#

get shot for example

full karma
#

im think that my visn_are script is interfering it

languid spindle
#

never tested tbh but i didnt even changed that

#

visng_are? what is that

full karma
#

its a advanced medic treatment script

languid spindle
#

so u dont even use ambulancejob?

full karma
#

sure i use it

languid spindle
#

did visng_are change files from ambulancejob? as a replacement?

full karma
#

but some functions may be override from visn

#

add bleed chance etc.

#

something like that

languid spindle
#

override isnt a thing, its just triggered twice if the event is named the same

#

open your wounding.lua and and search for evidence

full karma
#

i found the issue... -.-

languid spindle
#

what was it

full karma
#

for visn_are to work i need to do this in qb-ambulance

languid spindle
#

yeah but visng_are is not using the evidence drop right?

full karma
#

dosnt look like

languid spindle
#

is it paid?

full karma
#

yap

languid spindle
#

so its locked up right?

full karma
#

yes 😦

languid spindle
#

means it hard to get that to work

full karma
#

ya maybe they could help

languid spindle
#

just ask them if they could add this for when bleeding

TriggerServerEvent('evidence:server:CreateBloodDrop', QBCore.Functions.GetPlayerData().citizenid, QBCore.Functions.GetPlayerData().metadata['bloodtype'], coords)```
full karma
#

But thanks for your help anyways, you helped me alot πŸ™‚
Your script is realy nice ThumbUp

languid spindle
full karma
#

Mhh is there a way to fix this?

#

i got bullet holes in the air πŸ˜…

languid spindle
#

i could add a check to prevent that from happening i guess

full karma
thick ledge
languid spindle
#

nope no time

keen summit
languid spindle
#

Then change this in ambulancejob

#

Mine has nothing todo with it

sage blade
#

qb-ambulancejob/client/wounding.lua

Thread at the bottom. That's where I added the create blood drop and works for me

#

@keen summit

languid spindle
keen summit
# sage blade

I already have this in my code in Wounding.lua, i don't understand why it still isn;t dropping blood, do i replace mine with yours you put here?

sage blade
#

send your code if possible

sage blade
sage blade
keen summit
analog hornet
#

Probably NVE

languid spindle
#

Not my video

keen summit
sage blade
# keen summit Also would you know how to drop blood if they say rob a till in a shop or rob je...

To do that you'll just need these lines of code

local player = PlayerPedId()
local randX = math.random() + math.random(-1, 1)
local randY = math.random() + math.random(-1, 1)
local coords = GetOffsetFromEntityInWorldCoords(player, randX, randY, 0)
TriggerServerEvent('evidence:server:CreateBloodDrop', QBCore.Functions.GetPlayerData().citizenid, QBCore.Functions.GetPlayerData().metadata['bloodtype'], coords)

And place the code wherever the success or fail of the thing you want .. so if its jewelry .. look for the code that's robs the display cases .. then just put that line of code beneath where the TriggerServerEvent is that adds the items

Can see attached image for when I added it as an example .. code might not be the same for you since I use a different jewelry script

sage blade
#
TriggerServerEvent("evidence:server:CreateFingerDrop", GetEntityCoords(PlayerPedId()))
keen summit
sage blade
#

if oyu use latest qb-jewelry .. you'll have to find the "smashVitrine(k)" function .. and place that line of code in the success or cancel or both part of the code

#

Should see the "qbcore progress bar" then after the "--Done" you can place the FingerDrop and after the "--Cancel"

sleek swan
#

Not for support.

thorny pumice
#

Qbx?

sullen yoke
# thorny pumice Qbx?

It should work since it uses ox_lib for most and supports ox inventory. The QB is only for qb-core related stuff

#

But you might need to change progrrssbar

#

And if you want, data related to the player

#

But I am planning on doing that

thorny pumice
grizzled yarrow
#

Is there a repo compatible with Hi-dev 1.3.6 policejob?

languid spindle
#

why would u downgrade?

sullen yoke
narrow bridge
# languid spindle why would u downgrade?

a quickie, when i try installing it on hi-dev it breaks the lab function. Nothing pops up. You are supposed to take ur files in REPLACE THESE and remove the ones in hi-dev?

languid spindle
#

The readme says, replace my files inside the hidev folder with your originals

narrow bridge
#

okay so easy, take hi-dev to urs, then comes the next thing, the bullet and vehicle fragment or what it is, does not appear on the lab

#

maybe supposed to be like that?

narrow bridge
#

that will change then and wont be able to get the bullet and vehicle if I replace ur files

languid spindle
#

@sullen yoke

sullen yoke
#

Ello

languid spindle
#

Your the hidev king

narrow bridge
#

Just feels like the code thats written is just removed

#

and feels like something either missing or im doing it completly wrong

sullen yoke
#

I would have to check that then. From what I know it worked fine when I last used it. But I'm not sure if any updates have been released lately

narrow bridge
#

last was 1.4.1 i think

#

because cant find anywhere in ur code that is checking the event FindEvidenceBag anywhere else but the evidence in ur so called REPLACE THESE

#

feels more like u are supposed to merge them somehow, but i havent read ur code completly

sullen yoke
#

Hmm

narrow bridge
#

Just to be clear.... The ones in ur scirpt, u are supposed to take the client/evidence.lua and server/main.lua from hi-dev and replace into ur folder where it says REPLACE THESE?

sullen yoke
#

Yes

narrow bridge
#

okay, because tried 5 diffrent ways and dont get it to work either way

#

just for good measure im gonna try again, even followed the vid ^^ and didnt manage

#

this is withour ur script

narrow bridge
# sullen yoke Yes

but the weird thing is, the video show with the other way around with the files

#

to take ur files and replce the ones in qb-policejob

sullen yoke
#

thats for the base policejob

#

hi dev is improved

narrow bridge
#

because in the readme its the same....

#

or?

#

like this in readme

#

nothing about the hidev except in the files like this

sullen yoke
#

the file structure is the same. but the code is super different in terms of organization

narrow bridge
#

okay

#

so base police u replace files in the qb-policejob with urs and in hi-dev itΒ΄s the other way around?

sullen yoke
#

btw im looking into it for you atm

narrow bridge
#

ty

sullen yoke
narrow bridge
#

okay, so in that case u mean take ur files and replace hi-dev files?

#

drag from urs to hi-dev?

sullen yoke
#

yeah

narrow bridge
#

dont seem to work for me at all

sullen yoke
#

again thats why im checking

narrow bridge
#

yeah

#

just feels weird to go from 447 lines of code to like 230. I understand thats not all but still

sullen yoke
#

for evidence we remove the evidence system from the policejob

narrow bridge
#

aahhh i see

sullen yoke
#

thats what lsn-evidence replaces

narrow bridge
#

i understand

#

remove from hi-dev also?

sullen yoke
#

yep

narrow bridge
#

like that when installed evidence

narrow bridge
# sullen yoke yep

Sorry for the inconvenience but felt like something was wrong, finding anything? 😞

sullen yoke
#

its alright

#

i have to convert it to qbox real quick

narrow bridge
#

Okay, just for info, im on qb-core if thats makes any difference

sullen yoke
#

shouldnt make tooo much of a difference

#

its really only exports and all

#

doesnt change much in terms of what it should do

narrow bridge
#

Okay, but something was not right?

sullen yoke
#

from what i see in my github everything seems correct

narrow bridge
#

Dang

sullen yoke
#

but i will need to test it so that means that it migth take a bit before i fully test it

#

since i convert stuff to qbox out of safety

narrow bridge
#

Np, take ur time and if its still not working for me then, i think i need some more help 🀣 if u remember would be nice if u ping here in case u got any updates or solution πŸ˜‰

sullen yoke
#

ofcourse!

narrow bridge
sullen yoke
#

still working on it

narrow bridge
#

πŸ‘

sullen yoke
narrow bridge
#

Ps

narrow bridge
sullen yoke
narrow bridge
#

Okay, did u solve it or everything was right??

sullen yoke
#

im looking at it using ox inventory. there is indeed something missing

#

i will look at the problem and get a solution asap

narrow bridge
languid spindle
#

Ur a king razer

#

Im going to give u perms

#

Just need to check how

narrow bridge
languid spindle
#

Its my script brother

sullen yoke
#

^

languid spindle
#

Razer is just adding festures i didnt wanted to do

narrow bridge
#

I know

languid spindle
#

Because not using ox

narrow bridge
#

🀣

#

So still credit to you. I know u made it

sullen yoke
#

ok so i found my problem with my converted stuff elsewhere but, i now need to look at your issue as i had that problem before i fixed mine πŸ˜‚

#

ill install some stuff on my qbcore server and test it out

#

might need to wait due to fivem having problems

narrow bridge
#

Yeah okay, sounds goodπŸ‘ just using standard qb with hi dev and ps-inventory if that helps u out

#

Just ping me if u need anything 😊

sullen yoke
#

πŸ‘Œ il probably also install ps since i hate qb inv

narrow bridge
#

🀣 its better then it was before but there is more to ask from it πŸ˜‰

upper parcel
#

@languid spindle is this compatable with wasabi policejob

languid spindle
# sullen yoke πŸ‘Œ il probably also install ps since i hate qb inv
sullen yoke
#

i will look at it today πŸ™‚

#

found it pretty weird

#

since i basically tested it too. but i guess its only with qb based inventory

grizzled yarrow
sullen yoke
#

i just tested out on fresh qbcore

#

ps-inventory

#

and hidev + lsn

#

and it works fine for me

#

@narrow bridge

#

I tested the version from main instead of releases. so you know

sullen yoke
#

Fresh qbcore build and everything setup from the readme

narrow bridge
#

yeah so did i πŸ˜‚

#

and hidev from tebex?

sullen yoke
#

yep

#

last version from jan 28

narrow bridge
#

ye

#

downloaded it monday this week

sullen yoke
#

downloaded it wednesday and again today

narrow bridge
#

yeah but if there were no updates shouldnt matter

narrow bridge
narrow bridge
sullen yoke
#

yeah

narrow bridge
# sullen yoke yeah

does it really matter that lsn-evidence is direcly under qb-core for startup?

#

maybe needs to be started before hideV?

#

nope still not workin

#

u are not supposed to get the serialnumber before ever been to lab right?

sullen yoke
#

nope

narrow bridge
#

i do

sullen yoke
#

only after discovering

#

i sure didnt when i picked it up

narrow bridge
#

i think thats where the problem is...

#

because if i get the serialnumber i already got the lab work done without being there and therefore i cant see it in the lab? Just guessing now

sullen yoke
#

what does your config look like in lsn-evidence?

#

cause there is a specific config for hidev or qb

narrow bridge
#

havent touched it

sullen yoke
#

πŸ’€

narrow bridge
#

ffs

#

cya, gonna find a rope and do something with it

sullen yoke
#

naah

narrow bridge
#

tada

#

sorry guys...

#

i feel terrible 😦

sullen yoke
#

You were really testing me πŸ˜‚

#

atleast you figured it out

narrow bridge
#

dont know if i wanna say that....

#

for future, add it to the readme maybe πŸ˜‚

sullen yoke
#

the file exists for a reason...

narrow bridge
#

I truly feel terrible for u spending so much time on idiot like me when not reading right.... sorry πŸ™‚

sullen yoke
#

But don't feel terrible. i learned to forgive and go on

outer egret
#

super

winged wedge
#

im having some issue with being able to process evidence at the lab for hi-dev

#

its just giving this error in the live console

#

i feel like im very close to geting it to work.. but damn

elder zenith
#

Will this work with wasaibi police?

sullen yoke
languid spindle
#

u can change stuff without me accepting it

#

u just need to accept it

sullen yoke
#

AwesomeπŸ‘Œ

winged wedge
#

Hello! So I fixed my isuses, but now have this new issue where the new types of evidence.. using hi-dev policejob... just dont show in the lab..

For example, I have picked up a bullet from a pink thing.. and that should show up in bullet evidence but it doesnt.. but original evidence like casings and such do.. any idea what the issue would be?

languid spindle
#

Did u add the stuff we told u? Like replaced the files

winged wedge
#

yea

#

compeltely replaced client/evidence and server/main

#

with the stuff in the hi-dev folders

#

server main has the type "vehiclefragment" and type "bullet' and etc

#

so im wondering why its just not picking up that i have those bags in my pockets? atleast i think that is what its doing

languid spindle
#

@sullen yoke

sullen yoke
#

i have tried this worked for me flawlessly without editing anything

#

did you change the config of lsn to hi-dev?

winged wedge
#

i have, im sure i have done something wrong ofcourse.. i just dont know where

sullen yoke
#

i tried with ps-inventory and ox_inventory on both full qb servers. and also on a converted hi dev pd job on qbox, there is no way that something wrong in the script

#

everything worked without problem

winged wedge
#

Yes I understand that, can I ask where you believe anything doing with evidence showing up in the lab would be handled.. probably the server/main yes?

sullen yoke
#

it goes through serverside yeah

winged wedge
#

Ok I figured out those issues I messed up the server/main!

I keep getting this "something is wrong with config" thing in my F8.. but I dont see anything out of the ordinary? it happens everytime i use the police pointer?

languid spindle
#

Show me the config

#

Its ox not ox_lib

#

For the notify

winged wedge
#

im so stupid

#

thank youuu

#

lmao

languid spindle
wraith kraken
languid spindle
fair flint
#

Heyyy guys, unfortunately I also have the problem that the cartridge cases are not displayed. I use the old qb-inventory. Is it perhaps possible to fix the problem without installing a new inventory? I think everything else works otherwise.

sullen yoke
#

everything we tested was on new qbcore and new inventory. i wouldn't really want to go through the trouble of making an old inventory compatible.

fair flint
#

So, i have to update qb-inventory OR install ps-inventory?

sullen yoke
#

yep

fair flint
#

:((( but OK if I have to do it... otherwise where do I have to edit the files? server.main, evidence.lua and app.js?

languid spindle
#

Inventory app.js

fair flint
#

Okay, i will take a look

#

thanks

narrow bridge
#

Any idea why when using the policepointer the drawlines just like pops up for a very short of timeand the dissapear

narrow bridge
narrow bridge
#

okay

#

but is there a need for eevidence to start before hi dev or after

narrow bridge
languid spindle
narrow bridge
#

so u need to be close to the bulletholes and not the casings?

narrow bridge
# languid spindle Yeah not near bulletholes

because if u are shooting on a wall thats close enough then everything works just fine, but if u shot on another wall that are too far away the 20 mark or whatever then the drawline stops working

languid spindle
#

Yeah

#

Could be it

narrow bridge
#

because it messing with the lines that are within the 20 mark

languid spindle
#

Make it higher

narrow bridge
languid spindle
#

yeah the distance

narrow bridge
#

yeah but the issue still remains

#

just depending on the distance, the it has to be set to like 500

languid spindle
#

u cant track down lines of a shooter over a distance of 50m

#

wouldve make no sense

narrow bridge
#

i know, thats not the issue

#

but is someone is shooting, lets say 20m, and the distance is set at 30

#

if the same person on the same spot shoot another direction above the allowed distance, somehow i break the function there

#

becuase it wont allow me to see something above 30 and standing on the same spot it goes kinde crazy

languid spindle
#

error?

narrow bridge
#

none

languid spindle
#

so its working and the script is doing his job

narrow bridge
#

okay?

#

so u are not supposed to see the lines that are within the range

#

when someone exceed the max on another line

languid spindle
#

if the bullet and the bullethole are more then 20 then the lines dont show

#

thats how it works

narrow bridge
#

i know, but like i said, if u stand on the same spot, shooting and its within 20, everyuthing works just fine

languid spindle
#

yeah thats how it works

narrow bridge
#

if u stand on the same spot that i just mentioned and shooting above the 20 mark, the ones that are not exceeding 20 mark wont show either

#

u see, the first one is not showing anything because i shot further away

#

even tho i have shot within the 20 distance mark

#

so it removes the allowed ones aswell because there is one shot that is too far away

languid spindle
#

ur standing at the wrong spots

#

how would u add that laserpointer into the hole?

#

when beeing 20m away

#

ur using the item not correct

narrow bridge
#

same issues even if i stand inside the holes or not

#

the lines just flickering

#

when u break it like i just showed u the script needs to be restarted to work properly again until someone else does it

languid spindle
#

i guess i will remove the lines

narrow bridge
#

why?

languid spindle
#

to many problems

narrow bridge
#

ahh, sorry to be the bringer of bad news mate....

languid spindle
#

but who gives a fuck about such small things tbh

#

i mean everything is working and the lines just shows the direction

narrow bridge
#

haha its a nice touch

elder zenith
#

This script is amazing, anyone able to get it working with wasabi policejob?

hoary frigate
#

I'm getting this error when trying to look for evidence with flashlight I'm using ox inventory I changed the ammo type to ox inventory ammo and still get this error.

languid spindle
#

Code of the error?

#

We did not add ox compatibility

hoary frigate
#

imma kinda new to this sorry

hoary frigate
#

nevermind i fixed it thanks

sullen yoke
inland moth
#

Hi, just wondering whats causing drop of vehiclefragment or is there and export for that?

languid spindle
#

Shooting at a vehicle

inland moth
#

ah, thanks πŸ™‚

inland moth
#

ok, next. Whats causing blood drop? Whatever I do I do not find any.

#

or does that only happend when I integrate it?

languid spindle
#

yes thats a thing u need ti add

#

normally ambulancejob and default heists got them, same for fingerprints

inland moth
#

okay, gotcha.

Grats with the Tesla πŸ˜‰

languid spindle
#

Thanks brother

languid spindle
#

Rn im trying to optimise it with a friend

wraith kraken
languid spindle
#

No time brother

wraith kraken
#

or any free person will test it cuz I can’t do it on my trash laptop

elder zenith
#

Would this work as a standalone script with Wasabi Police?

languid spindle
#

No need for it to be standalone, because im only focusing on making qb scripts

elder zenith
#

I am getting this error installing the script with qb-policejob

cerulean wave
#

Not a thread for support.

jolly flume
languid spindle
#

UPDATE 0.0.8 IS OUT !
PERFORMANCE UPDATE PLS DOWNLOAD

candid cove
#

SICK UPDATE!

tribal merlin
#

this is prob the longest active thread here xD

candid cove
#

for good reason

languid spindle
#

yeah XD

languid spindle
thorny pumice
#

Nice bro

cerulean wave
#

LeSiiN comin in with the update - good job buddy

inland moth
#

Really nice update πŸ™‚

strange rampart
#

Is it possible to change/customize the new evidence DrawMarkers?

sullen yoke
#

Yes. you will need to edits the ytd in stream

strange rampart
sullen yoke
strange rampart
#

Your good I tried a few different ways but couldn't seem to get my changes to take effect, figured there's something I'm missing outside of replacing the ytd's. I'll get it eventually, thank you for the response.

languid spindle
#

Openiv drag the ytds inside the gta folder , toggle edit mode, extract the textures inside ytd, check them, import them again

strange rampart
narrow bridge
#

Updated it now, cant check the evidence again just empty

#

same issue i had before but i have checked everything this time πŸ˜‰

narrow bridge
languid spindle
#

it does

#

ask razer

narrow bridge
#

okay

#

because cant see the evidence in the menu again....

narrow bridge
narrow bridge
sullen yoke
#

My bad will test soon!

candid cove
#

Is it supposed to run at .3 while not in-use 0.0

languid spindle
#

Yeah

#

Because threads are running in the background

#

That are deleting evidence after a ampunt of time

languid spindle
#

HELLO HELLO

#

ANOTHER BIG UPDATE

#

THIS SHOULD BE THE LAST PERFORMANCE UPDATE

#

WHATS CHANGED:

  • Removed all Running Threads, and replaced them with better options ( idle should be around 0.00-0.01) ( TOP SCREEN = IDLE , BOTTOM SCREEN = TO MANY EVIDENCE )
  • Added Norwegian locale by @DannyHD001 in #12
sullen yoke
#

Tested it yesterday. Nothing changed everything worked like it did before

torn fiber
#

Does this support ox_inventory?

torn fiber
#

Any idea?

languid spindle
#

Does my readme says so?

torn fiber
#

There's only mention of ox_lib but in config I can see ox_inventory as an option

#

But that's not relative to my error I don't think that's relating to weapons not working or breaking the script for some reason

languid spindle
#

I didnt remember

#

I mean ox should work

#

Show code of the errors

#

Ur using a gun that is noz inside weapons.lua is my guess

languid spindle
#

Hi there, its me again

#

nothing serious

#

just some better coding and less messy spagehtti code

random cosmos
#

Did a fresh install of this, using hi-dev policejob. I had a script error referencing line 387 of lsn-evidence evidence.lua "table index is nil."

Anytime a vehicle fragment was trying to be generated this error would pop up.

I added this at line 366 (before the table is called) vehiclefragmentId = vehiclefragmentId or "default" and the error went away, and I can see fragments properly being generated.

languid spindle
#

Show me the code pls

#

Thats my 387

random cosmos
#

Here's the full block for vehicle fragments

----------------------------------------[ VEHICLE FRAGMENTS ]-----------------------------------------
RegisterNetEvent('evidence:client:AddVehicleFragment', function(vehiclefragmentId, weapon, raycastcoords, pedcoords, heading, currentTime, entityHit, r, g, b, serie)
    vehiclefragmentId = vehiclefragmentId or "default"
    Fragments[vehiclefragmentId] = {
        coords = {
            x = raycastcoords.x,
            y = raycastcoords.y,
            z = raycastcoords.z
        },
        pedcoord = {
            x = pedcoords.x,
            y = pedcoords.y,
            z = pedcoords.z,
            h = heading
        },
        r = r,
        g = g,
        b = b,
        type = weapon,
        serie = serie and serie or Lang:t('evidence.serial_not_visible'),
        drawLine_r = drawLine_r,
        drawLine_g = drawLine_g,
        drawLine_b = drawLine_b,
        time = currentTime
    }
end)
cold wing
#

Can confirm I get the same line 387 error after the recent update too

Mines using qb-policejob

languid spindle
#

Wtf

#

There is nothing at client side 387

random cosmos
#

It's referencing the entire table I believe, that's just the line where it ends

languid spindle
#

fixed error and removed raycast

languid spindle
#

NEW UPDATE

sullen yoke
#

W

wary rain
normal prism
#

does it work with qbox ?

languid spindle
#

its open source, change the events to it

wary rain
#

Qbox has bridge to use qb so yea

thorny pumice
#

Yes work

slender fulcrum
#

@languid spindle hi! quick question: can you make it work on ESX too?

random cosmos
#

Why don't you do it? It's open source

languid spindle
slender fulcrum
#

yes why ?

slender fulcrum
random cosmos
candid cove
slender fulcrum
#

I can do it, but it's not my script, I don't touch projects that don't belong to me

#

Then if he wants me to help him do it, that's another thing, but otherwise I don't touch other people's projects without their agreement

random cosmos
#

I'm just some guy who messes about with fivem, but even I can google "open source" and see the first result: "The open-source model is a decentralized software development model that encourages open collaboration."

slender fulcrum
candid cove
random cosmos
slender fulcrum
random cosmos
random cosmos
languid spindle
#

Replace the word in that line

#

β€žFragmentsβ€œ with β€žFootprintsβ€œ

random cosmos
#

I can't test right now but soon as I got time I will - thank you!

random cosmos
fathom hill
#

This is only bullet evidence or have blood fingerprint etc

fathom hill
#

@languid spindle i replaced evidence.lua and main.lua then i need to put your evidence script to resource or not i am using hidev qb-policejob

languid spindle
#

readme says how to

fathom hill
languid spindle
fathom hill
languid spindle
#

No ur just to close to more then 1 marker

dim yacht
#

Do u still need help with something?

languid spindle
dim yacht
#

Dm me with what i need to do

languid spindle
#

Yeah

dim yacht
#

Ill see what i can do

fathom hill
languid spindle
#

Blood is dropped by ambulancejob

#

Thats not my script thats triggeres the drop

fathom hill
#

okey

loud heath
#

Hey the evidence i picked up is not showing up in the hi dev lab menu

languid spindle
#

pls show me what ur trying to do, and also show me the evidence bag info ( hover over it )

loud heath
languid spindle
#

how does it work?

#

never used hi-dev

loud heath
languid spindle
loud heath
#

Thats what it says in the description

languid spindle
#

ur forgot the inventory app.js part

#

press on ,,If you use ps/lj inventory or old qb inventory with DEFAULT/hi-dev Policejob(From Nov 3 2023)''

loud heath
#

its in there

languid spindle
#

ehh

#

what about the bullet?

#

i mean ur showing casing

loud heath
languid spindle
#

okay u got a fresh install of the hi-dev policejob?

#

there is probably a readme that says what to change in the app.js right?

loud heath
languid spindle
#

send me a screen of the part where he wants u to change the app.js

loud heath
languid spindle
#

does it work with the ,,default'' evidence?

#

like casing/blood

loud heath
languid spindle
#

oh and what inventory ur using?

loud heath
#

normal qb

languid spindle
#

i will get @sullen yoke to try to help u

#

because hes the one doing the hi-dev stuff

sullen yoke
#

Will be able to test it out sometime tomorrow

languid spindle
#

oh damn i didnt mean to get ur online instantly πŸ˜›

sullen yoke
#

thats alright. im always watching just super busy lately :/

languid spindle
#

all good

#

take ur time

loud heath
languid spindle
#

did u check the bag?

#

dont u need to ,,find'' the evidence

#

like examine

#

from unknown stuff to actually infos in the item info

loud heath
#

Jup its there

languid spindle
#

do u need to check evidence before that?

#

like fresh after picking it up?

loud heath
#

should i make a video for you?

languid spindle
#

yeah

#

from picking up the evidence to the point u got problems

loud heath
#

Well now im using the default hidev evidence system

languid spindle
#

did the hi-dev policejob evidence lab got a update latly?

loud heath
languid spindle
random cosmos
#

Have noticed a few times that evidence can appear under the ground and is unable to be picked up. I'm busy right now but I'll try to take a look and see if I can work out what's going wrong.

random cosmos
#

this should fix it, need to test it a bit more then ill send a PR

random cosmos
languid spindle
#

Pushed

mystic osprey
#

Just started using this script alongside the hi-dev policejob, all of the evidence seems to work barring the fingerprints, I've narrowed it down to the v.metadata.fingerprint being equal to nil rather than "Unknown", any ideas on a fix?

I'm also using ox_inventory as opposed to qb/ps

mystic osprey
#

Apologies for the ping, but any ideas mate^? @languid spindle

languid spindle
#

no never had htat

sick wolf
#

can someone please help with this issue?

jolly flume
naive dock
#

I figured out the issue with fingerprints I was having.

In client/evidence.lua ~line 225 the event is registered as evidence:client:AddFingerPrint, changed to AddFingerDrop and it works without issue

shut rain
#

any fix to this on hi dev policejob?

languid spindle
#

Nope still not found a fix for this

shut rain
#

Alright, i will searche if I can fix

fathom hill
languid spindle
#

Thats happening because ur near 4 bullet casings

fathom hill
fierce vapor
#

Hi everyone!
Unless I have read wrong, lsn-evidence was ported to ox_inventory from this thread : https://github.com/LeSiiN/lsn-evidence/issues/14

However, it is not mentioned in the read me and there are no instructions to replace the app.js (I could not figure out the equivalent for ox_inv).

Did I understand wrong from the thread and it does not work yet? Or did I just overlooked the instructions?

Thank you very much!

GitHub

Are you Planing to do For ox_inv?

sullen yoke
green yacht
#

Is it possible to make it so scratched serial numbers don’t show up? And how to make ox inventory compatible

shut rain
#

It’s already compatible

green yacht
sour bramble
#

Any Updates on the support for Hi-Dev Lab table?

languid spindle
#

Did not try to fix it tbh

#

Im not using hi-dev policejob

#

Thats why

sour bramble
#

Any plans to try and fix? πŸ˜‚

sullen yoke
#

Maybe maybe not. haven't done much at all

sour bramble
lusty vine
#

Anyone know why only bullet holes and bullet fragments are working but not blood drops, fingerprints, and footprints? I did everything in the installation guide, I'm using Hi-dev PD job

waxen gorge
naive dock
lusty vine
naive dock
narrow yoke
#

have this error with this line

urban peak
#

getting this error when starting the hi-dev pd job after installing. SCRIPT ERROR: @qb-policejob/server/main.lua:1327: bad argument #1 to 'gsub' (string expected, got nil) @languid spindle

solemn ravine
hollow bear
languid spindle
#

Default policejob

sullen yoke
#

@languid spindle Updated the repository. will make a quick test again and if thats done it should hopefully be good for a new release

languid spindle
#

sounds good

sullen yoke
#

Everything seems to be working as expected :)

languid spindle
#

so i can push both PRs?

sullen yoke
languid spindle