Hi
I am trying to make a game and I have written a few functions. But I’m having a problem with the forward declaration. I need to call a function before I write the function itself but it always gives me an error.
I searched the internet and tried this method of forward declaration.
[lua] local function_name [/lua]
but this method is also not working. I’ve tried to move the function above the chunk of code that calls it but then the other functions start giving the same error. because the code is calling the functions that haven’t been defined yet. Any help in this regard will be greatly appreciated.
Thank you.
