FAILED load to script mysql-async/lib/MySQL.lua line 30 and 35

good… let’s la installed a walking script, but not this running perfectly… when I run it appears blip but nothing happens when tightening “E” in F8 does not appear any errors, but in the console appears 2 mysql-async errors

image


that code that of error

I know that does not have this folder mysql-async I know but i have already put a download of a folder with the name mysql-async and had same continuation asks in print above /lib/Mysql.lua …

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the Cfx.re community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

Looking at the console screenshot, you are either trying to use a function that you didn’t export from mysql-async, or you didn’t specify the correct export resource.
https://docs.fivem.net/docs/scripting-reference/runtimes/javascript/functions/exports/
Also I recommend using fxmanifest.lua instead of __resource.lua as it’s more up-to-date.

Could you show the code of the resource server-side?

as so did not understand

server-side a part of this right here

I don’t have this file anywhere “mysql-async”

If you don’t have a mysql file, or the whole resource, then you can’t use its features. Download mysql-async, and add it as a resource. Also you may want to change your webhook URL, as you just leaked it in the screenshot.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.