How to fix this error
#1

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;
}
Reply
#2

new udb_RenameUser; ?
Reply
#3

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..
Reply
#4

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
Reply
#5

Get the script from where you copied the command, and look for that function and copy it aswell.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)