01.03.2013, 14:26
Are you using dini include? I am not so sure, I am pretty new to scripting.
Just add this before all the settings when he has successfuly registered.
Make sure to create the file before setting all the settings..
Just add this before all the settings when he has successfuly registered.
PHP код:
new, name[MAX_PLAYER_NAME], strin[256];
GetPlayerName(playerid, name, sizeof(name));
format(strin, sizeof(strin), "%s.ini", name);
if(fexist(strin))
{
ShowPlayerDialog(DIALOG_LOGIN)
}
else
{
dini_Create(strin);
all your sets here
}