TanguyOrtegat / esx_jb_eden_garage2

41 stars 50 forks source link

Decoding all vehicles server side?! #6

Closed ElPumpo closed 5 years ago

ElPumpo commented 5 years ago

https://github.com/TanguyOrtegat/esx_jb_eden_garage2/blob/4ed6b5e44f3b45b26043830f61aa774484e16538/esx_jb_eden_garage2_sv.lua#L35

You should let the client decode the vehicle props and not the server, to save performance.

samuelds commented 5 years ago

or no use json :D

TanguyOrtegat commented 5 years ago

solved just need to do encode too :) thanks