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?
"If Origin not in center it be not in center." --Buggie
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();
}