Userpath Error !
#1

THIS TUT
STEP IX

Getting these errors

pawn Код:
error 017: undefined symbol "Userpath"
error 017: undefined symbol "UserPath"
I replaced the "Userpath" with my path but still not fixed!
Reply
#2

EDIT: Never mind.

Try following the tutorial again, and not replacing the Path, check out that everything works than try changing it again.
Reply
#3

Maybe you havent defined it ?
Reply
#4

Quote:
Originally Posted by CesarLT
Посмотреть сообщение
Try using UserPath instead of Userpath
Still same problem !
Reply
#5

Quote:
Originally Posted by x96664
Посмотреть сообщение
Maybe you havent defined it ?
What do you mean by I havent defined it !
I did it !s
Reply
#6

Quote:
Originally Posted by hassantariq73
Посмотреть сообщение
What do you mean by I havent defined it !
I did it !s
I mean:
pawn Код:
#define Path "/Users/%.ini"

 stock UserPath(playerid)
{
 new string[128],playername[MAX_PLAYER_NAME];
 GetPlayerName(playerid,playername,sizeof(playername));
 format(string,sizeof(string),Path,playername);
 return string;
}
Reply
#7

Quote:
pawn Код:
#define Path "/Users/%.ini"
Already defined there !
Reply
#8

Quote:
Originally Posted by hassantariq73
Посмотреть сообщение
Already defined there !
What about the stock function ? "Path" was defined with capital letters in that tut so its different.
Reply
#9

PASTEBIN

Get the code, Get the error, Fix the error, and gimme new code!
Reply
#10

Quote:
Originally Posted by hassantariq73
Посмотреть сообщение
PASTEBIN

Get the code, Get the error, Fix the error, and gimme new code!
Im not at home if you are able to wait 4 hours I will fix it for you when I get back.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)