08.08.2011, 10:31
I'm quite sure dini has a function dini_Create(file[]) or something like that. And don't create a file before being entirely sure that the player will register!
pawn Код:
if(!response)
return SendClientMessage(playerid, 0xFF0000FF, "You skiped to Register an account on our Database, Please Makesure your Kills/Deaths/Cash/Level/Color and Skin won't be saved.");
if(!strlen(inputtext))
return ShowPlayerDialog(playerid, 2196523, DIALOG_STYLE_INPUT, "Register Account.", "Welcome,\n\nYour Account is currently not registered in our Database, So if you feel glad to register you may register please.\n\nEnter your Desired Password Below:", "Register", "Later");
new File:fo = fopen(file, io_write);
fclose(fo);