Dini help
#4

Well you have Y_INI, and MySQL .

Edit: Remember to change your folder location and file type form what I have to what you use. "FOLDER/%s.FILETYPE"

pawn Код:
public OnPlayerConnect(playerid)
{
    M_OnPlayerConnect(playerid);
    new name[MAX_PLAYER_NAME], string[24+MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s has joined the server.", name);
    SendClientMessageToAll(0xC4C4C4FF, string);
    format(string,sizeof(string),"Accounts/%s.ini",name);//Change that to the folder where you store your user files and change the file type (if it's not .ini)
    if(!dini_Exists(string))
    {
        dini_Create(string);
    }
    return 1;
}
Try that ^
Reply


Messages In This Thread
Dini help - by luigifan9 - 28.12.2011, 00:04
Re: Dini help - by Tee - 28.12.2011, 00:09
Re: Dini help - by luigifan9 - 28.12.2011, 00:15
Re: Dini help - by Tee - 28.12.2011, 00:18
Re: Dini help - by luigifan9 - 28.12.2011, 00:24
Re: Dini help - by Tee - 28.12.2011, 00:41

Forum Jump:


Users browsing this thread: 1 Guest(s)