28.12.2011, 00:18
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"
Try that ^
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;
}