13.06.2011, 23:29
Quote:
It's no doubt that I will be corrected. But what the heck
pawn Код:
|
pawn Код:
public OnPlayerText(playerid, text[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
new string[128];
new temp[48];
GetPlayerName(playerid, temp, sizeof(temp));
format(string, sizeof(string), "%s (%i) says:{FFFFFF} %s", temp, playerid, text);
SendClientMessage(i, 0xFFFF00AA, string);
}
}
return 0;
}