17.03.2012, 13:06
pawn Код:
stock GetPlayerNameEx(playerid,name[],len=sizeof(name))
{
GetPlayerName(playerid,name,len);
for(new cell;cell<strlen(name);cell++)if(name[cell]=='_')name[cell]=' ';
}
new sendername[MAX_PLAYER_NAME];
GetPlayerNameEx(playerid, sendername, sizeof(sendername));
if(PlayerInfo[playerid][pMaskUse] == 1)
{
format(sendername, MAX_PLAYER_NAME, "Stranger[Masked_%d]",MaskedName[playerid]);
}