Problem with custom file location
#1

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

pawn Код:
#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.

pawn Код:
error 017: undefined symbol "Test_Function"

Test_Function is

pawn Код:
Test_Function
{
    print("hi");
    return true;
}
Reply
#2

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)