replacement "_" for space in player name
replacement "_" for space in player name
I notice that if I try to login in a 469c server with only spaces in player name, the spaces are replaced by underscore. Does anyone know where in code that happens?
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
Re: replacement "_" for space in player name
PlayerPawn.uc:
Code: Select all
exec function SetName( coerce string S )
{
if ( Len(S) > 28 )
S = left(S,28);
ReplaceText(S, " ", "_");
ChangeName(S);
UpdateURL("Name", S, true);
SaveConfig();
}