EN: I looked at your code but I did not see any command to know if as a police officer the person in front of us has registered his car and has a weapon license!
Buy a license. (drive licence, weapon licence and what you want, just add it in the database) <- actually there is no influence in the game but will use it in the next update.
Its not coded yet
But with a little bit of knowledge, it shouldnt be too hard to solve, FiveM Cops mod already has a check for illegal items, you could go from there.
Hi,
Thanks for the release I think I have a problem with this event but everything else is working fine for me :
ply_prefecture:CheckForRealVeh
Exemple : if I buy a Blista, Iām able to register it at the prefecture and then store it in my garage. But if I buy a Brioso R/A, I have a āCe nāest pas le bon vehiculeā notification, it doesnāt register the car but I donāt have any errorā¦
Same versions here ! I made a few tests, Iām not an expert so I might be totally wrong but it seems like my issue is in client.lua line 41 :
if personalvehicle ~= vname then
When the carās model is the exact same word as the carās name (like the Felon), itās working like a charm
But as soon as the carās model is not the same as the carās name (like the Felon GT, name = Felon GT & model = felon2), it doesnāt register it.
Again, I can easily be wrong and Iām sorry if Iām being unclear, baguette
This is the issue I was having, thats why I couldnt register the vehicle, I also did a fresh re-install. But same message says that this vehicle is not owned. This worked perfectly at first, not anymore