[Release] jsfour-criminalrecord [ESX]

can anyone tell me where the marker is for this i know it say’s it on the readme but i can’t find it? :confused:

Police station behind the desk at main room

i feel dumb lol thank’s through it had taken a server restart to pop up for some reason

Happens to the best of us :cowboy_hat_face:

Awsome!

looks so beatiful, ty bro

I get error trying to add it to the database

Config = {}
Config.Marker = {
Pos = {x = 444.66662597656, y = -974.96911621094, z = 29.789599990845},
Size = {x = 2.0, y = 2.0, z = 1.0},
Color = {r = 26, g = 55, b = 186},
Hint = ‘Press ~INPUT_PICKUP~ to open the criminal record’,
Type = 27,
},
{
Pos = {x = 1852.65662597656, y = 3691.66911621094, z = 34.269599990845},
Size = {x = 2.0, y = 2.0, z = 1.0},
Color = {r = 26, g = 55, b = 186},
Hint = ‘Press ~INPUT_PICKUP~ to open the criminal record’,
Type = 27,
}

I tried to add a position in Sandy Shores Sheriff’s Office… it only shows the Point in Mission Row PD. What can I do?

Hello how can I see the classified objects?

Sorry to ask, but how can i limit the access for certain rank in the police dept.

You add that to the if statement in the client.lua that checks if the player has the police job. Just add the grade as well?

Sorry for being unclear. I mean how to limit the access of “classify” “delete”. These could cause chaos if not controlled properly

You would have to hide the buttons and then send the players grade to the javascript. You’ll then have to check if they have the specified grade and show the buttons if they do

When i want to enter to the record it dont show nothing and bug the game, so i must restart it.

I am trying to create or add a “I mean” nothing I have hours now and reboots and it remains the same I don’t know what I am doing wrong

image

image

1 Like

I have the same issue, If i find a fix i’ll let you know.

1 Like

Why i cant exit criminal record?

Dont rename the script you need to start jsfour-criminalrecord! :slight_smile:

and how would I be able to change the DOB that it wouldn’t require year-mnth-day,want to change it but doesn’t allow me,tried in index file,doesnt seem have any effect

<p>DOB</p>
                <p class="square r-dob-year"><i>Y</i>00</p>
                <p class="square r-dob-month"><i>M</i>00</p>
                <p class="square r-dob-day"><i>D</i>00</p>
                <p class="square r-dob-lastdigits"><i>X</i></p>

This as far as I understand,is not related to adding,just when searching

i did this and it fixed mine ,
first go to server.lua then go to line 158 remove it and paste the following :

Summary

MySQL.Async.fetchAll(‘SELECT identifier, skin, sex, height FROM users WHERE UPPER(firstname) = @firstname AND UPPER(lastname) = @lastname AND dateofbirth = @dateofbirth’, {[’@firstname’] = data.firstname, [’@lastname’] = data.lastname, [’@dateofbirth’] = data.dob},

the original line tries to call for the value “dob” where it is actually "dateofbirth " in DB , and i think that was the issue