[HELP]Y_ini problem
#5

Quote:
Originally Posted by LivingLikeYouDo
Посмотреть сообщение
Where are you declaring UserPath?
Whit a stock

pawn Код:
stock UserPath(playerid)
{
    new string[128],playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid,playername,sizeof(playername));
    format(string,sizeof(string),PATH,playername);
    return string;
}
and a define on top

pawn Код:
#define PATH "/Users/%s.ini"
But anyway im reading and writing lots of files and i do it well but in this case it doesent func wtf!!!
Reply


Messages In This Thread
[HELP]Y_ini problem - by chusothe41 - 23.07.2014, 17:34
Re: [HELP]Y_ini problem - by AMouldyLemon - 23.07.2014, 17:39
Respuesta: Re: [HELP]Y_ini problem - by chusothe41 - 23.07.2014, 17:46
Re: [HELP]Y_ini problem - by LivingLikeYouDo - 23.07.2014, 18:08
Respuesta: Re: [HELP]Y_ini problem - by chusothe41 - 23.07.2014, 18:34
Respuesta: [HELP]Y_ini problem - by chusothe41 - 23.07.2014, 18:41

Forum Jump:


Users browsing this thread: 3 Guest(s)