06.06.2010, 20:00
If you are using dini, you can do something like this under your register command:
Код:
new file[128]; new string[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(file,sizeof(file),"/Accounts/%s.ini",name); // you need a folder "Accounts" in script files if(!fexist(file)) { dini_Create(file); //your stat saving variables here }