28.08.2011, 07:53
Code:
public OnPlayerText(playerid, text[]) { new string[256]; new pName[32]; GetPlayerName(playerid, pName, sizeof(pName)); format(string, sizeof(string), "%s says: %s", pName, text); SendPlayerMessageToAll(-1, string); SetPlayerChatBubble(playerid, string, 0xFF0000FF, 100.0, 10000); return 0; }