PDA

View Full Version : Need help.. Something not right with user register system.


Scrillex
28/07/2013, 02:56 PM
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:


(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:


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:


#define UserPath "Users/%s.ini


With regards Scrillex!

Aliassassin123456
28/07/2013, 03:09 PM
#define UserPath "Users/%s.ini"