How to fix this 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: How to fix this error (
/showthread.php?tid=656880)
How to fix this error -
helloah892 - 26.07.2018
i got this error
SFCRRPG.pwn(13046) : error 017: undefined symbol "udb_RenameUser"
here is my script code
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;
}
Re: How to fix this error -
Dawkin - 26.07.2018
new udb_RenameUser; ?
Re: How to fix this error -
JasonRiggs - 26.07.2018
Quote:
Originally Posted by Dawkin
new udb_RenameUser; ?
|
lol??
@OP.. This error is because you're missing a function called udb_RenameUser.. And why are you missing it? Because you've copied this command from another gamemode without making sure that you copied the related functions..
Re: How to fix this error -
helloah892 - 26.07.2018
Quote:
Originally Posted by JasonRiggs
lol??
@OP.. This error is because you're missing a function called udb_RenameUser.. And why are you missing it? Because you've copied this command from another gamemode without making sure that you copied the related functions..
|
please tell me how to fix this
Re: How to fix this error -
GTLS - 26.07.2018
Get the script from where you copied the command, and look for that function and copy it aswell.