udb_RenameUser 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: udb_RenameUser Error (
/showthread.php?tid=464650)
udb_RenameUser Error -
adios1 - 18.09.2013
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!
Re: udb_RenameUser Error -
alinategh - 18.09.2013
You sure you included the dudb in your gamemode?
#include <dudb>
Re: udb_RenameUser Error -
adios1 - 18.09.2013
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 .
Re: udb_RenameUser Error -
alinategh - 18.09.2013
Do you get this error for that function whenever you use it? or just in that dialog response?
Re: udb_RenameUser Error -
adios1 - 18.09.2013
i got this error whenever i compile the script