06.08.2013, 13:03
You store the name in a variable and use the variable to print it.
pawn Код:
new
pname[ MAX_PLAYER_NAME ]
;
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
// blablabla..
format(String, sizeof(String), "%s has used command %s", pname, command);
SendClientMessage(i, blue, String);