LiamDormon / mojito_pdm

React / Typescript catalogue for PDM
Creative Commons Attribution Share Alike 4.0 International
30 stars 25 forks source link

Car won't save in my garage nor will it give me keys #15

Closed unsafeknave closed 2 years ago

unsafeknave commented 2 years ago

When trying to buy a car it will take the money but will not give me keys or save to my garage. https://i.imgur.com/NYB0Bpa.jpeg https://i.imgur.com/PHgTbzb.jpeg

LiamDormon commented 2 years ago

Use legacy fuel or change the export

unsafeknave commented 2 years ago

Use legacy fuel or change the export

I could be stupid but i'm not seeing where to change the export

LiamDormon commented 2 years ago

https://github.com/Mojito-Fivem/mojito_pdm/blob/900b80e29b7795bbe84db7149075051e8bd55494/resources/client/client.ts#L149

unsafeknave commented 2 years ago

https://github.com/Mojito-Fivem/mojito_pdm/blob/900b80e29b7795bbe84db7149075051e8bd55494/resources/client/client.ts#L149

So i've been trying to solve this issue and I have come across the fact that the source code doesn't work but the released version does. In the released version there is no client.ts. I would use the source code version but it doesn't work on my QB server

LiamDormon commented 2 years ago

https://github.com/Mojito-Fivem/mojito_pdm/blob/900b80e29b7795bbe84db7149075051e8bd55494/resources/client/client.ts#L149

So i've been trying to solve this issue and I have come across the fact that the source code doesn't work but the released version does. In the released version there is no client.ts. I would use the source code version but it doesn't work on my QB server

This is typescript, you need to compile it. Release version is just the github bot automatically compiling the code when I push a new version tag.

unsafeknave commented 2 years ago

https://github.com/Mojito-Fivem/mojito_pdm/blob/900b80e29b7795bbe84db7149075051e8bd55494/resources/client/client.ts#L149

So i've been trying to solve this issue and I have come across the fact that the source code doesn't work but the released version does. In the released version there is no client.ts. I would use the source code version but it doesn't work on my QB server

This is typescript, you need to compile it. Release version is just the github bot automatically compiling the code when I push a new version tag.

sadly i'm not fluent in TS so i'm not sure how to compile the script myself. I apologize for bothering you