error on registery
#1

C:\Users\hpi\Desktop\SCRIPTING\registersystem.pwn( 142) : error 017: undefined symbol "udb_hash"
C:\Users\hpi\Desktop\SCRIPTING\registersystem.pwn( 164) : error 017: undefined symbol "udb_hash"
C:\Users\hpi\Desktop\SCRIPTING\registersystem.pwn( 177) : warning 217: loose indentation
C:\Users\hpi\Desktop\SCRIPTING\registersystem.pwn( 17 : warning 217: loose indentation
C:\Users\hpi\Desktop\SCRIPTING\registersystem.pwn( 181) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.

Can someone help me? i tryed to fix it but i get other errors i post the lines is seconds thank's
Reply
#2

line 142
Quote:

dini_IntSet(file, "hashPW", udb_hash(params));

line 164
Quote:

if(udb_hash(params) != tmp)

here its when lose identication
Quote:

{
logged[playerid] = 1;
PlayerInfo[playerid][AdminLevel] = dini_Int(file, "AdminLevel");
SetPlayerScore(playerid, PlayerInfo[playerid][score]);
new lebel = PlayerInfo[playerid][AdminLevel];
GivePlayerMoney(playerid, dini_Int(file, "money")-GetPlayerMoney(playerid));
format(string, 256, "[SYSTEM]: Successfully logged in! (level: %d)!", lebel);
SendClientMessage(playerid,COLOR_RED, string);
printf("%s (%i) logged in with password %s", pname, playerid, params);
}
return 1;}
return 0;
}

If someone can help thanks
Reply
#3

did you put #include <dini> at the top of the script?
Reply
#4

yes i did
Reply
#5

i don understand what is wrong =| im very noob lol
Reply
#6

error solved i forget to define dudb xD but i keep the other errors

Quote:

C:\Users\hpi\Desktop\SCRIPTING\registersystem.pwn( 177) : warning 217: loose indentation
C:\Users\hpi\Desktop\SCRIPTING\registersystem.pwn( 17 : warning 217: loose indentation
C:\Users\hpi\Desktop\SCRIPTING\registersystem.pwn( 181) : error 010: invalid function or declaration

any sugestions? ty
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)