11.08.2012, 12:44
I making two language script, and I got error:
Line is bolded:
Код:
IC_war.pwn(2714) : error 040: duplicate "case" label (value 16)
Quote:
case DIALOG_LOG: { if(response) { new pFile[35],dialog[128]; format(pFile, 35, Player_File, GetName(playerid)); INI_ParseFile(pFile, "LoadP_Data", .bExtra = true, .extra = playerid); if(udb_hash(inputtext) == P_Data[playerid][pPassword]) { SetPVarInt(playerid, "Logged", 1); SCM(playerid,-1,"To proceed with further play click on spawn. Thanks for playing at our server."); } else { format(dialog, sizeof(dialog),""COL_BLUE"The password you entered is incorrect!\nIf you forgot your password, contact\nsome of Administrator on forum.", GetName(playerid)); ShowPlayerDialog(playerid, DIALOG_LOG, DIALOG_STYLE_PASSWORD, "Xoomer - Login",dialog, "Login", "Izadji"); } } else Kick(playerid); } |