[Release] PD Impound [ESX]

info button only works if you have multiple cars impounded. the information is defaulted to the first one on the list. if you have more than one, you press info on the second one to get info on that impound

OK thank you for the information

UPDATE

  • Fixed the releasedate not working properly for certain timezones.
  • A damaged vehicle will no longer be undamaged when unimpounding.

DONT FORGET TO RUN THE SQL STATEMENTS, YOUR RELEASEDATE COLUMN SHOULD BE VARCHAR.

mine being cut so, why?

my resolution is 1366x768

the previous versions were good now ta ta, in this last update

How do I get down further?

You can adjust the file: style.ccs

@Shyricaus ill see what i can do for you tomorrow, editing the css file should be all you need though.

2 Likes

thank you HorizonPls

knows me to say which line I said in the styles to lower the white square down

Would it be possible for the mechanic or police officer
use the command /Impound in the chat and Impound the vehicle without having to take to the parking lot to seize it

I do not know if it is happening to you, but when the server is renewed the vehicles that were impound are available to be taken by the player.
Plus it sits in the impound database on Mission MissionRow.

Did you edit your garage scripts to leave out the impounded vehicles from their vehicle lists? That is not something I can do for you.

Im also not implementing that command yet and probably never will because thats a pile of work im not interested in at the moment :slight_smile: Feel free to do it yourself though.

When i hit the button “Press E to impound” then nothing happens…

The console says one time:

VEHICLESError running call reference function for resource esx_impound: citizen:
/scripting/lua/scheduler.lua:351: server.lua:88: attempt to index a nil value (f
ield ‘?’)
stack traceback:
server.lua:88: in upvalue ‘ref’
citizen:/scripting/lua/scheduler.lua:337: in function <citizen:/scriptin
g/lua/scheduler.lua:336>
[C]: in function ‘xpcall’
citizen:/scripting/lua/scheduler.lua:336: in function <citizen:/scriptin
g/lua/scheduler.lua:335>
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:351: in function <citizen:/scriptin
g/lua/scheduler.lua:322>
Error: Unhandled error Error: BUFFER_SHORTAGE
at n.e [as reserve] (citizen:/scripting/v8/msgpack.js:29:12766)
at h (citizen:/scripting/v8/msgpack.js:29:15761)
at n.r [as decode] (citizen:/scripting/v8/msgpack.js:29:13908)
at n.fetch (citizen:/scripting/v8/msgpack.js:29:6972)
at n.u [as read] (citizen:/scripting/v8/msgpack.js:29:12076)
at Object.n [as decode] (citizen:/scripting/v8/msgpack.js:29:7097)
at unpack (citizen:/scripting/v8/main.js:20:33)
at citizen:/scripting/v8/main.js:48:11
at setImmediate (mysql-async.js:5039:9)
at Object.callback (citizen:/scripting/v8/timer.js:56:6)

Do not change the resource’s original name to esx_impound
leave as original hrp_pd_impound

i know, i have changed the name in all files. Its good, that’s not the issue of this problem…

I put this command in my serve.lua in esx_eden_garagem and the inda still managing to pick up seized vehicles.

MySQL.Async.fetchAll(“SELECT * FROM owned_vehicles WHERE owner=@identifier AND state=false AND owned_vehicles.plate NOT IN (SELECT plate from h_impounded_vehicles)”,{[’@identifier’] = xPlayer.getIdentifier()}, function(data)

Having an issue that all the cars I try to impound are coming up as unknown owner, tried everything… anyone had the same issue?