t1ger-scripts / t1ger-mix-bundle

T1GER Mix Bundle - https://forum.cfx.re/t/release-free-t1ger-mix-bundle-15-premium-resources/4991016
21 stars 25 forks source link

t1ger_deliveries | Fix sync bug #7

Closed asmcodersource closed 5 months ago

asmcodersource commented 5 months ago

There is an error in the code using a non-existent variable. Because of this, a business synchronization error occurs, causing it to not work correctly. After purchasing a business, you need to restart the plugin for it to work correctly; the error is accompanied by a message in the console.

The fix is ​​to use an information object about a new object instead of an uninitialized variable.