YINI Problem :/
#4

pawn Код:
#define YPos_Path "YPOS/%s.ini" /*Will define user's account path*/
stock user_ini_file(playerid) //Will create a new stock so we can easily use it later to load/save user's data in user's path
{
    new str[128],user_name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,user_name,sizeof(user_name));

    for(new d,len = strlen(user_name); d != len; d++)
        user_name[d] = tolower(user_name[d]);

    format(str,sizeof(str),YPos_Path,user_name);
    return str;
}
Try this
Reply


Messages In This Thread
YINI Problem :/ - by Youssef214 - 23.05.2014, 14:21
Re: YINI Problem :/ - by Youssef214 - 23.05.2014, 14:25
Re: YINI Problem :/ - by Youssef214 - 23.05.2014, 14:48
Re: YINI Problem :/ - by AroseKhanNiazi - 23.05.2014, 15:01
Re: YINI Problem :/ - by Youssef214 - 23.05.2014, 15:08
Re: YINI Problem :/ - by AroseKhanNiazi - 23.05.2014, 15:10

Forum Jump:


Users browsing this thread: 1 Guest(s)