17.07.2013, 22:09
I get undefined symbol error:
These are the parts of the code that get the error:
It says I dont have "Path" defined but I do......
The worst part is, it does the same exact thing for color codes. If I use COLOR_WHITE, it will give me the same error, so I have to use the raw code (like 0xFFFFFFAA).
Help please D:
Код:
C:\Users\di$t0rt3d_p1ctur3\Saved Games\GTA San Andreas\Server\gamemodes\coolbeans.pwn(482) : error 017: undefined symbol "Path" C:\Users\di$t0rt3d_p1ctur3\Saved Games\GTA San Andreas\Server\gamemodes\coolbeans.pwn(484) : error 017: undefined symbol "Path"
Код:
//Register/Login
if(fexist(Path(playerid)))
{
INI_ParseFile(Path(playerid),"loadaccount_%s",.bExtra = true,.extra = playerid);
ShowPlayerDialog(playerid,10,DIALOG_STYLE_INPUT,"Login","Please put in your password to login","Login","Quit");
}
else
{
ShowPlayerDialog(playerid,11,DIALOG_STYLE_INPUT,"Register","Welcome to Cool Beans\nBefore playing, please register an account. Thanks.","Register","Quit");
}
return 1;
}
Код:
#define UserPath "Users/%s.ini"
Help please D:

