Little Help About ErrOr - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Little Help About ErrOr (
/showthread.php?tid=312659)
Little Help About ErrOr -
Zxdsl - 22.01.2012
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
Re: Little Help About ErrOr -
Konstantinos - 22.01.2012
Show us the lines 31715 and 31795
Re: Little Help About ErrOr -
Zxdsl - 22.01.2012
31715
Код:
if (udb_Create(PlayerName2(playerid),params))
31795
Код:
if (udb_CheckLogin(PlayerName2(playerid),params))
Re: Little Help About ErrOr -
Konstantinos - 22.01.2012
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;
}
Re: Little Help About ErrOr -
Zxdsl - 22.01.2012
Not WorkinG
I Got More ErrOrs
Re: Little Help About ErrOr -
Zxdsl - 22.01.2012
Please Help Me
Re: Little Help About ErrOr -
DarkB0y - 23.01.2012
I think u most update ur GM to 3D this way it will the erros will fix