Small error
#1

Error : expected token: "-string end-", but found "-identifier-"

On line : format(str,sizeof(str),UserPath,name);
Reply
#2

Show the whole code related to this because this line is wrong.
Reply
#3

stock Path(playerid)
{
new str[128],name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(str,sizeof(str),UserPath,name);
return str;
}
Reply
#4

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


Forum Jump:


Users browsing this thread: 1 Guest(s)