Player names being cut short
#1

Ive just realised that my server is occasionally (and seemingly randomly) shortening players' names and I have no idea why (Or even which function to start with in order to find the problem). As far as I can tell it only happens to 1 player at a time and their name will remain shortened until they rejoin the server.

Has anybody encountered a problem similar to this before? a point in the right direction in where to find the cause of this would be a great help.

Example:
This player's name is Crazy.Ex, however it suddenly starts showing like this and wont revert back to his full name until he quits and rejoins the server:



Example of the way names are given to one of the functions:
Код:
format(string, sizeof(string), "%s (%i) Has Paid $%i In Taxes.",PlayerInfo[playerid][pName],playerid,Taxes);
SendClientMessageToAll(COLOR_SERVER_HELP_MSG, string);
From the player enum:
Код:
pName[MAX_PLAYER_NAME],
OnPlayerConnect:
Код:
GetPlayerName(playerid, PlayerInfo[playerid][pName], MAX_PLAYER_NAME);
EDIT: Their full name appears properly in the Tab playerlist, but shortened in commands like /info (Which use pName to get the player name)
Reply


Messages In This Thread
Player names being cut short - by Ducati - 19.05.2018, 12:31
Re: Player names being cut short - by JasonRiggs - 19.05.2018, 12:42
Re: Player names being cut short - by NaS - 19.05.2018, 15:47
Re: Player names being cut short - by Ducati - 19.05.2018, 17:31

Forum Jump:


Users browsing this thread: 1 Guest(s)