PDA

View Full Version : Problem with custom file location


TwinkiDaBoss
11/07/2015, 06:28 PM
Alright so Ive created a small folder inside Pawno > include > Modules and now im trying to load shit from it but I keep on getting errors that there are undentified symbols.

Any solutions

#include "../include/Modules/Misc/Test.inc"

The Test.inc I took it and pasted it into .pwn file and compiled it, no errors or whatso ever. But when I try the use functions from it inside the Gamemode itself I get shitton of erorrs.

error 017: undefined symbol "Test_Function"


Test_Function is

Test_Function
{
print("hi");
return true;
}

TwinkiDaBoss
11/07/2015, 06:45 PM
Resolved. Had to use \ instead of / for some reason.
1 folder must be loaded using \ and the 2nd one doesnt matter / or \
Weird bug it is.
But works tho