Error with displaying name on OnPlayerConnect
#1

When a player connects, it only shows the last pieces of the name, not the whole entire name..


pawn Код:
new IP[16], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
new amessage[256];
format(amessage, sizeof(amessage), "%s has connected to the server! ID: %d IP: %s", name[playerid], playerid, IP);
SendMessageToAdmins(amessage, COLOR_LIGHTRED);
Reply


Messages In This Thread
Error with displaying name on OnPlayerConnect - by EmilLykke - 22.12.2014, 00:47
Re: Error with displaying name on OnPlayerConnect - by Infility - 22.12.2014, 00:55
Re: Error with displaying name on OnPlayerConnect - by Abagail - 22.12.2014, 02:47

Forum Jump:


Users browsing this thread: 1 Guest(s)