08.12.2017, 12:21
If you call the function before including the file, the compiler will not know about the function yet. Try including the file in the first few lines of your script before loading anything else. See if that makes a difference.
EDIT: I should learn to read, my bad. The way you describe it, it should work. Will look into it when I have some free time.
EDIT: I should learn to read, my bad. The way you describe it, it should work. Will look into it when I have some free time.