Closed AndreasFromDanmark closed 2 years ago
Hey, are you using the latest qbcore version? this might be because of that.
@swkeep Yes its one of the most recent version
@AndreasFromDanmark so I tested it with the new qbcore script works fine it's a miss type on your end.
exports('getTruck', function(id)
return Trunks[id]
)
exports('getGloveboxes', function(id)
return Gloveboxes[id]
)
This is wrong you're just missing end
before ) at end of functions.
exports('getTruck', function(id)
return Trunks[id]
end)
exports('getGloveboxes', function(id)
return Gloveboxes[id]
end)
@swkeep Thanks :) it worked
error is coming after i added
exports('getTruck', function(id) return Trunks[id] )
exports('getGloveboxes', function(id) return Gloveboxes[id] )