Warnings in cfx.re development kit

Hello, i’m using Cfx.re Development Kit to develop fivem resources and i’m getting warnings about undefined globals. The code is running fine, but it’s annoying that every word and line has “Undefined global” warning.

Can someone help me? I started with this app today

1 Like

Add this to settings.json (Ctrl + P → User/settings.json)

{
    "Lua.diagnostics.disable": [
        "undefined-global"
    ],
    "Lua.runtime.nonstandardSymbol": [
        "`"
    ]
}
1 Like