Little Help About ErrOr
#1

I Dont Know Why i Getin This ErrOr
Код:
C:\Users\Arish\Desktop\SATDM~RP v13.5\Gamemodes\SATDM_v13.pwn(31715) : warning 202: number of arguments does not match definition
C:\Users\Arish\Desktop\SATDM~RP v13.5\Gamemodes\SATDM_v13.pwn(31795) : error 017: undefined symbol "udb_CheckLogin"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
_________________________
Soory For My Bad English
Reply
#2

Show us the lines 31715 and 31795
Reply
#3

31715
Код:
    if (udb_Create(PlayerName2(playerid),params))
31795
Код:
    if (udb_CheckLogin(PlayerName2(playerid),params))
Reply
#4

If create? DO you mean if not exists -> create?
pawn Код:
if( !udb_Exists( PlayerName2( playerid ) ) ) udb_Create( PlayerName2( playerid ), "" );
For the second
pawn Код:
stock udb_CheckLogin( nickname[ ], pwd[ ] )
{
    new
        fname[ MAX_STRING ];

    format( fname, sizeof( fname ), "%s.dudb.sav", udb_encode( nickname ) );
    new
        PasswordInFile = dini_Int( fname, "password_hash" );

    if ( PasswordInFile == udb_hash( pwd ) ) return true;
    return false;
}
Reply
#5

Not WorkinG
I Got More ErrOrs
Reply
#6

Please Help Me
Reply
#7

I think u most update ur GM to 3D this way it will the erros will fix
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)