Need help with chat commands. [+REP]
#2

Hello this uses an Include known as Local Chat
Its made by Goudewup.
Heres the include
http://pastebin.com/f12af5060

And heres how to use it.An Example:
Код:
public OnPlayerText(playerid,text[])
{
	new name[MAX_PLAYER_NAME], string[128];
	GetPlayerName(playerid, name, sizeof(name));
	format(string, sizeof(string), "%s: %s", name, text);
	SendLocalMessage(playerid, COLOR_WHITE, 7,string);// Send the message
	return 0; // Makes sure the original message isn't send
}

Or If you really want to use a_samp.
Use this.
https://sampwiki.blast.hk/wiki/LimitGlobalChatRadius
Reply


Messages In This Thread
Need help with chat commands. [+REP] - by Biggy54 - 28.09.2014, 22:51
Re: Need help with chat commands. [+REP] - by SWGamer - 29.09.2014, 08:55
Re: Need help with chat commands. [+REP] - by Biggy54 - 29.09.2014, 11:06
Re: Need help with chat commands. [+REP] - by SWGamer - 29.09.2014, 11:52
Re: Need help with chat commands. [+REP] - by Josh_Main - 29.09.2014, 15:09
Re: Need help with chat commands. [+REP] - by MeCom - 29.09.2014, 15:19
Re: Need help with chat commands. [+REP] - by Biggy54 - 29.09.2014, 16:29
Re: Need help with chat commands. [+REP] - by DavidBilla - 29.09.2014, 18:06
Re: Need help with chat commands. [+REP] - by Biggy54 - 29.09.2014, 19:53
Re: Need help with chat commands. [+REP] - by YanLanger - 29.09.2014, 20:22

Forum Jump:


Users browsing this thread: 2 Guest(s)