23.03.2011, 08:15
Something like this:
[Not sure it this is gonna work, 'cause I made it really fast...]
Take a look what I did and it will give you an idea...
pawn Код:
public OnPlayerText(playerid, text[])
{
new pname[MAX_PLAYER_NAME], str[128];
GetPlayerName(playerid, pname, sizeof(name));
format(str, sizeof(str)," %s (%d): %s ", name, playerid, text)
SendClientMEssageToAll(color, str)
return 1;
}
Take a look what I did and it will give you an idea...