[Release] jsfour-criminalrecord [ESX]


#63

still always have this error


#64

You don’t need 2 scripts for that. That’s a waste of resources. You could just make a new html file with a javascript in the same resource.


#65

Can’t do anything about it, the event exists. Maybe you’ve messed up the start order?


#66

I added the plugin to the server, but when I look at the criminal record after creating a criminal record is written because of the crime does not say that the error like the photo in cmd could be related to it

criminalrecord2


#67

You forgot to execute the SQL file?


#68

SQL file imported without errors. The folder name is jsfour-criminalrecord. Nothing is changed in code. It doesn’t add any new data, only gives me this error whatever I try to do. Can someone help me what I’m doing wrong here?


#69

Does John Doe with the DOB 1997-03-01 exists in the database?


#70

And please. Everyone who needs help, create an issue at the Github page so this post won’t get spammed.

You even may find the answer among the other issues


#71

LOL, you might be able to. I don’t know javascript :wink:


#72

how would you go about this? I looked at it and tried to accomplish but failed every time… I thought i could place the marker at two different pds also and that dont work…


#73

I get this error now when I try to check the files of a person

The line that cause problem is this one :
var offense = cb[‘records’][0].offense;


#74

is not working due a fivem update


#75

Can also Confirm, It stopped working after the most recent FiveM update. No longer able to view records.


#76

Instead of waiting on the Elements to give me a reply I’ve updated the script. You can download it at github


#77

Thanks buddy (20chars)


#78

FiveM update solved this issue. You don’t need to download the new version


#79

Can`t search with last name, -> its coming undefined , script not working please fix it.


#80

There are 174+ servers that are using this script. So what do you want me to fix? None else have had this problem that I know of.

You’re doing something wrong on your end.


#81

hey im getting this error http://prntscr.com/m0sxn9

Ive added a record as a classified record.

console


#82

hello, I have the skript downloaded but everything is well the sql and in the server but I can not add anything to the record addon because as I add on add, nothing happens.
does someone have a fix for that?