distritic / mdt

A police Mobile Data Terminal system designed for use on the FiveM platform. Made for phynix.gg.
https://forum.cfx.re/t/1701472
30 stars 86 forks source link

fine_types wont show up on relog #8

Closed Nikwitz closed 3 years ago

Nikwitz commented 3 years ago

Hi there.

Many people have the issue about the fine_types is not showing up when thet reconnect to the server. It's like the fine_types only gets deployed once on restart and not when peoples character is loading.

Can you help?

Best Regards, Nikwitz.

distritic commented 3 years ago

https://github.com/distritic/mdt/blob/c1e14e0ac3fd1ca08ce918f9ab68971fe09cb817/cl_mdt.lua#L26 The event to fetch data from the fine_types table is called when you join. Not entirely sure why the result wouldn't be returned to the client?

If you find a solution feel free to make a pull request, but I won't be updating this anymore.