Help with making a new file after banning.
#5

Код:
stock bPath(playerid)
{
    GetPlayerName(playerid,pName,sizeof(pName));
    format(ustr,sizeof(ustr),UserPath,pName);
    return ustr;
}
If im right bPath is taking player name and format ustr to something like Playername.ini and when you write new INI:file = INI_Open(bPath(playerid));
It create new file with player name so i suggest you instead use bPath,use file name ex. new INI:file = INI_Open("bans.ini");
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)