10.07.2011, 07:22
I seem to be having all sorts of trouble at the moment with Dini. ^_^
It just keeps thinking the file doesn't exist and makes me re-register.
It just keeps thinking the file doesn't exist and makes me re-register.
Код:
gPlayerLogged[playerid] = 0; new name[MAX_PLAYER_NAME], file[256]; format(file, sizeof(file), SERVER_USER_FILE, name); if (!dini_Exists(file)) //if player is registered { //register dialog } else if(dini_Exists(file)) // if player is registered { //login dialog }