ThreeAmigosModding / TAM_BetterRadioAnims

Improved radio anims with support for rp-emotes and scully emotes
GNU General Public License v3.0
24 stars 11 forks source link

Update client/main.lua #4

Closed CribbeDEV closed 7 months ago

CribbeDEV commented 7 months ago

Fix for: MainThrd/ Error parsing script @TAM_BetterRadioAnims/client/main.lua in resource TAM_BetterRadioAnims: @TAM_BetterRadioAnims/client/main.lua:24: 'then' expected near 'export'

CribbeDEV commented 7 months ago

Also fixed an export for rpemotes

Also, you should look into whether or not local Config = require "data.Config" is actually needed. It broke the script on my server so i removed it for me

Hakkodevelopment commented 7 months ago

Thanks for noticing the syntax.

the config is utilizing ox libs require feature. It's really handy and is a better way of loading data like that rather than adding the lua file to manifest. https://overextended.dev/ox_lib/Modules/Require/Shared