Error "PATH"
#1

C:\Users\User\Desktop\roleplay.pwn(126) : error 017: undefined symbol "PATH"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


126 LINE:

Код:
    format(string,sizeof(string),PATH,playername);
stock:
Код:
stock UserPath(playerid)
{
    new string[128],playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid,playername,sizeof(playername));
    format(string,sizeof(string),PATH,playername);
    return string;
}
Reply
#2

Define it where you want. For example, you want a in scriptfiles > users > OnY.ini

pawn Код:
#define PATH "/users/%s.ini"
Reply
#3

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)