SA-MP Forums Archive
[Ajuda] error 035: argument type mismatch (argument 2) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] error 035: argument type mismatch (argument 2) (/showthread.php?tid=465404)



error 035: argument type mismatch (argument 2) - AndersonAq - 22.09.2013

PHP код:
    if(dialogid == DIALOG_LOGARADM)
    {
        if(
response)
        {
            if(
strcmp(inputtextSENHAADMINtrue) == 0)
            {
                
APlayerAdminLogado 1;
                
SendClientMessage(playerid, -1"* Logado com sucesso.");
            }
            else
            {
                
SendClientMessage(playerid, -1"ERRO: Senha incorreta!");
            }
        }
    } 
Linha:
PHP код:
if(strcmp(inputtextSENHAADMINtrue) == 0
O que hб de errado?


Re: error 035: argument type mismatch (argument 2) - Chefгo - 22.09.2013

manda a linha dessa define
pawn Код:
SENHAADMIN



Re: error 035: argument type mismatch (argument 2) - AndersonAq - 22.09.2013

#define SENHAADMIN 441811144898


Re: error 035: argument type mismatch (argument 2) - zSuYaNw - 22.09.2013

Troque:

pawn Код:
#define SENHAADMIN "441811144898"



Re: error 035: argument type mismatch (argument 2) - Neutron97 - 22.09.2013

Creio eu que o tуpico jб foi resolvido .

@Dica,
Quando vocк nгo consegui resolver algum erro/warning, vocк copia e cola no ****** pq й provбvel que exista a soluзгo, era assim que eu fazia .

Espero ter ajudado .