INCONSTANT
#1

I'm have these lines:
Код:
if(sscanf(inputtext, "s[24]", rPassword)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "EROARE", "{00FF00}Scrie parola pe care ti-o doresti,\n{FFFF00}Aceasta parola trebuie sa fie intre {FF0000}6-24{FFFF00} caractere!", "Inregistrare", "Iesire");
			if(strlen(rPassword) < 6 || strlen(rPassword) > 24) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "EROARE", "{00FF00}Scrie parola pe care ti-o doresti,\n{FFFF00}Aceasta parola trebuie sa fie intre {FF0000}6-24{FFFF00} caractere!", "Inregistrare", "");
            //------------------------------------------------------------------
			if(strfind(rPassword, "'", true) != -1) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "EROARE", "{00FF00}Aceasta parola nu poate contine simboluri: {FF0000}('){FFFF00}!", "Inregistrare", "");
And in all lines is error:
Код:
error 079: inconsistent return types (array & non-array)
Please tell me how to fix problem!
Sorry for my bad english...
Reply
#2

These conditions that you show to us are right. Problem is somewhere else (somewhere on the lines under these conditions.)
Read this:

http://forum.sa-mp.com/showpost.php?...86&postcount=3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)