Posts: 637
Threads: 106
Joined: May 2011
Reputation:
0
Error : expected token: "-string end-", but found "-identifier-"
On line : format(str,sizeof(str),UserPath,name);
Posts: 1,942
Threads: 89
Joined: Nov 2010
Reputation:
0
Show the whole code related to this because this line is wrong.
Posts: 637
Threads: 106
Joined: May 2011
Reputation:
0
stock Path(playerid)
{
new str[128],name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(str,sizeof(str),UserPath,name);
return str;
}