Y_ini register / login help...
#1

SOLVED IT JUST SOME FEW MISTAKE
Reply
#2

Change
pawn Код:
if ( udb_hash( inputtext ) == pass[ playerid ] )
To
pawn Код:
if ( strcmp( udb_hash( inputtext ), pass[ playerid ], false )  )
// if not working
if ( !strcmp( udb_hash( inputtext ), pass[ playerid ], false ) )
This
pawn Код:
else if(udb_hash(inputtext) != pass[playerid])
To
pawn Код:
else
Should works.
Reply
#3

Quote:
Originally Posted by Basicz
Посмотреть сообщение
Change
pawn Код:
if ( udb_hash( inputtext ) == pass[ playerid ] )
To
pawn Код:
if ( strcmp( udb_hash( inputtext ), pass[ playerid ], false )  )
// if not working
if ( !strcmp( udb_hash( inputtext ), pass[ playerid ], false ) )
This
pawn Код:
else if(udb_hash(inputtext) != pass[playerid])
To
pawn Код:
else
Should works.
compile with error:
Код:
E:\Server SA-MP OPEN BETA(ary)1ab\gamemodes\tombodos.pwn(723) : error 035: argument type mismatch (argument 1)
help please..
Reply
#4

What line ?
Reply
#5

Quote:
Originally Posted by Darnell
Посмотреть сообщение
What line ?
This:
pawn Код:
if ( strcmp( udb_hash( inputtext ), pass[ playerid ], false )  )
Reply
#6

Are you sure Pass[playerid] contains information?
Reply
#7

He beat me ^^.
Reply
#8

Quote:
Originally Posted by Wesley221
Посмотреть сообщение
Are you sure Pass[playerid] contains information?
what do you mean?
Reply
#9

pawn Код:
new Pass[playerid][/*PASSLENGTH*/24];
^
Reply
#10

same error
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)