22.12.2014, 00:47
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);