Need help.. Something not right with user register system.
#1

Hello Dear SAMP forum users.. Long time didn't post here... So I need some help...

I did everything like tutorial said but... still something is not likable to pawn.... Maybe someone could help me.
Error line:

pawn Код:
(304) : error 037: invalid string (possibly non-terminated string)
(304) : error 017: undefined symbol "Users"
(304) : error 017: undefined symbol "s"
(304) : fatal error 107: too many error messages on one line
CODE:

pawn Код:
stock Path(playerid)
{
    new str[128],name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(str,sizeof(str),UserPath,name); //ERROR LINE
    return str;
}
Define:

pawn Код:
#define UserPath "Users/%s.ini
With regards Scrillex!
Reply
#2

pawn Код:
#define UserPath "Users/%s.ini"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)