#3

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;
}
Edit Your own distance and expire time.
Reply


Messages In This Thread
Help - by [M.A]Angel[M.A] - 28.08.2011, 00:45
Re: Help - by Kingunit - 28.08.2011, 00:57
Re: Help - by Generation-X - 28.08.2011, 07:53
Re: Help - by Bakr - 28.08.2011, 08:08

Forum Jump:


Users browsing this thread: 1 Guest(s)