I need help with my script. - 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: I need help with my script. (
/showthread.php?tid=494175)
I need help with my script. -
JackieJ - 12.02.2014
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?
Re: I need help with my script. -
PatrickShifflett - 12.02.2014
Take it out
Re: I need help with my script. -
JackieJ - 12.02.2014
i dont want to take it out.
I will do so the register system will be messed up?.
have i right?.
Re: I need help with my script. -
SickAttack - 12.02.2014
Remove: "udb_RenameUser(PlayerName(playerid),inputtext );" from your script. You aren't using it in your script and its not needed.