Closed CrosRoad95 closed 6 years ago
It would help to know what script is causing this behavior so it is easier to debug.
What happens when you fix the blanked out errors?
Its reproduceable by creating 2 Resources
Resource 1: Add an exported function to meta.xml BUT dont declare it anywhere in lua Resource 2: Call that exported function from Resource 1 -> Error is thrown because the LuaVM is trying to call it.
An easy solution would be to check if that function exists in lua BEFORE adding it to the list (we would probably need some kind of checks somewhere - otherwise, throw loading script failed / show warning message)
Nice find @LuXorioN96.
Describe the bug Sometimes if something wrong, there is displayed error:
attempt to call a nil value
, but without script, file, or line, just[ERROR] attempt to call a nil value
To Reproduce i don't know how reproduce it, it appear client, and server side
Expected behavior Next to message should be source of error.
Screenshots ^ lastest error
MTA Client (please complete the following information): Multi Theft Auto v1.5.6-release-14334
MTA Server (please complete the following information): MTA:SA Server v1.5.6-release-14334
This appear before 1.5.6, and currently still appear ( client and server )
Additional context