I need help with my script.
#1

Errors:
Код HTML:
C:\Users\JACOLA03\Desktop\cnr\gamemodes\SFCRRPG.pwn(13046) : error 017: undefined symbol "udb_RenameUser"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Script:
Quote:

}
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;
}
return 1;
}


What do i need to change?
Reply
#2

Take it out
Reply
#3

i dont want to take it out.

I will do so the register system will be messed up?.

have i right?.
Reply
#4

Remove: "udb_RenameUser(PlayerName(playerid),inputtext );" from your script. You aren't using it in your script and its not needed.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)