Userpath Error !
#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


Messages In This Thread
Userpath Error ! - by hassantariq73 - 23.09.2013, 11:42
Re: Userpath Error ! - by CesarLT - 23.09.2013, 11:44
Re: Userpath Error ! - by x96664 - 23.09.2013, 11:44
Re: Userpath Error ! - by hassantariq73 - 23.09.2013, 11:44
Re: Userpath Error ! - by hassantariq73 - 23.09.2013, 11:46
Re: Userpath Error ! - by x96664 - 23.09.2013, 11:52
Re: Userpath Error ! - by hassantariq73 - 23.09.2013, 11:55
Re: Userpath Error ! - by x96664 - 23.09.2013, 11:59
Re: Userpath Error ! - by hassantariq73 - 23.09.2013, 12:24
Re: Userpath Error ! - by x96664 - 23.09.2013, 12:28

Forum Jump:


Users browsing this thread: 1 Guest(s)