06.06.2015, 14:50
Quote:
EDIT: add this to your script, and don't forget to change the script files location
Код:
stock udb_CheckLogin( nickname[ ], pwd[ ] ) { new fname[ MAX_STRING ]; format( fname, sizeof( fname ), /* ScriptFiles...(File Location) --> */"/%s.sav", udb_encode( nickname ) ); if( udb_UserInt( nickname, "password_hash" ) == udb_hash( pwd ) ) return true; return false; }