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
Add this to settings.json (Ctrl + P → User/settings.json)
settings.json
{ "Lua.diagnostics.disable": [ "undefined-global" ], "Lua.runtime.nonstandardSymbol": [ "`" ] }
Go to Settings and Press here
Add this to settings.json
"Lua.diagnostics.disable": [ "undefined-global" , "cast-local-type", "trailing-space", "param-type-mismatch", "missing-parameter" ], "Lua.runtime.nonstandardSymbol": [ "`" ],```