Jump to content

[NEREZOLVAT]Eroare


Dybon
 Share

Recommended Posts

news.pwn(3147) : warning 202: number of arguments does not match definition
news.pwn(3147) : warning 202: number of arguments does not match definition
news.pwn(3147) : error 035: argument type mismatch (argument 2)

la asta imi da asa

OnPlayerRegister(playerid,WP_Hash(RegisterPass[playerid]));

stie cineva ce are?

Link to comment
Share on other sites

50 minutes ago, L0K3D said:

Imi cer scuze, eram de pe somn:

new passHashed[130]; WP_Hash(passHashed, 130, RegisterPass[playerid]); OnPlayerRegister(playerid, passHashed);


new passHashed[130];

WP_Hash(passHashed, 130, RegisterPass[playerid]);
OnPlayerRegister(playerid, passHashed);

 

Si astea cum le fac ca sa nu imi dea erori la fel?

                new tmppass[64];
                mysql_escape_string(inputtext, tmppass);
                OnPlayerLoginIn(playerid,MD5_Hash(tmppass));

if(strcmp(MD5_Hash(inputtext), PlayerInfo[playerid][pKey])) {

format(PlayerInfo[playerid][pKey], 50, MD5_Hash(emailtext));

Link to comment
Share on other sites

am gresit eu la baza de date, nu imi arata parola, doar aici mai am nevoie de ajutor

                new tmppass[64];
                mysql_escape_string(inputtext, tmppass);
                OnPlayerLoginIn(playerid,MD5_Hash(tmppass));

if(strcmp(MD5_Hash(inputtext), PlayerInfo[playerid][pKey])) {

format(PlayerInfo[playerid][pKey], 50, MD5_Hash(emailtext));

Link to comment
Share on other sites

14 hours ago, L0K3D said:

Ce incerci sa folosesti Whirpool sau MD5? Ce erori primesti? M-ai zapacit.

incerc sa folosesc Whirlpool.

la asta: OnPlayerLoginIn(playerid,WP_Hash(tmppass));

primesc asta:

news.pwn(14168) : warning 202: number of arguments does not match definition
news.pwn(14168) : warning 202: number of arguments does not match definition
news.pwn(14168) : error 035: argument type mismatch (argument 2)

la asta: if(strcmp(MD5_Hash(inputtext), PlayerInfo[playerid][pKey])) {

primesc asta:

news.pwn(14331) : warning 202: number of arguments does not match definition
news.pwn(14331) : warning 202: number of arguments does not match definition
news.pwn(14331) : error 035: argument type mismatch (argument 1)

si la asta: format(PlayerInfo[playerid][pKey], 50, WP_Hash(emailtext));

primesc asta: 

news.pwn(14344) : warning 202: number of arguments does not match definition
news.pwn(14344) : warning 202: number of arguments does not match definition
news.pwn(14344) : error 035: argument type mismatch (argument 3)
 

si scuze ca te-am zapacit

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...