udb_RenameUser Error
#1

Hey guys im having the error

error 017: undefined symbol "udb_RenameUser"

Could someone help me


pawn Код:
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(PlayerName(playerid),inputtext);
            SetPlayerName(playerid,inputtext);
            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;
    }
Thanks in Advance!
Reply
#2

You sure you included the dudb in your gamemode?
#include <dudb>
Reply
#3

yes sir.

here's my includes

pawn Код:
#include <a_samp>
#include <irc>
#include <SFCRRPGdudb>
#include <streamer>
#include <dprops>
#include <sscanf2>
#include <time>
#include <dudb>
with or without it it still gives me the same error .
Reply
#4

Do you get this error for that function whenever you use it? or just in that dialog response?
Reply
#5

i got this error whenever i compile the script
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)