11.12.2014, 18:01
Hi all
i'm breaking my head over this can someone please help me out
the error is
C:\Users\Joyce\Desktop\pwn\gamemodes\SFCRRPG.pwn(1 3047) : error 017: undefined symbol "udb_RenameUser"
C:\Users\Joyce\Desktop\pwn\gamemodes\SFCRRPG.pwn(1 3049) : error 017: undefined symbol "nickname"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
i made a line #include <dudb>
and added the dudb.inc in the include folder
i'm breaking my head over this can someone please help me out
Quote:
} return 1; } if(dialogid == DIALOG_CHANGEPASS) { if (response == 0) { return 1; } if (response == 1) { if (strlen(inputtext)==0) { SendClientMessage(playerid,COLOR_ERROR,"Please enter your desired password in the box."); ShowChangePassScreen(playerid); return 1; } udb_UserSetInt(PlayerName(playerid),"password_hash ",udb_hash(inputtext)); format(string,sizeof(string),"You have successfully changed your password to '%s', use this to login from now on.",inputtext); SendClientMessage(playerid,COLOR_LIGHTBLUE,string) ; return true; } return 1; } if(dialogid == DIALOG_CHANGENAME) { if (response == 0) { return 1; } if (response == 1) { if (strlen(inputtext)==0) { SendClientMessage(playerid,COLOR_ERROR,"Please enter your desired name in the box."); ShowChangeNameScreen(playerid); return 1; } udb_RenameUser(nickname[],newnick[]) { SetPlayerName(nickname[],newnick[]); } format(string,sizeof(string),"You have successfully changed your name to '%s', use this to login from now on.",inputtext); SendClientMessage(playerid,COLOR_LIGHTBLUE,string) ; return true; } return 1; } return 1; } |
the error is
C:\Users\Joyce\Desktop\pwn\gamemodes\SFCRRPG.pwn(1 3047) : error 017: undefined symbol "udb_RenameUser"
C:\Users\Joyce\Desktop\pwn\gamemodes\SFCRRPG.pwn(1 3049) : error 017: undefined symbol "nickname"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
i made a line #include <dudb>
and added the dudb.inc in the include folder