Chat Split
#3

Quote:
Originally Posted by TwentyFour
Посмотреть сообщение
Yes you can.

Код:
SendExtendedMessageToAll(color, const string[]);
Код:
stock SendExtendedMessageToAll(color, const string[])
{
	if(strlen(string) > 120)
	{
	    new msg[120];
		format(msg, sizeof(msg), "%s", string); // 0 to 120
		SendClientMessageToAll(color, msg);

		format(msg, sizeof(msg), "{FFFFFF}...%s", string[120]); // 120 to the end
		SendClientMessageToAll(color, msg);

		return 1;
	}
	else
	{
		SendClientMessageToAll(color, string);
	    return 1;
	}
}
Does not worked
Reply


Messages In This Thread
Chat Split - by DerickClark - 16.07.2018, 02:07
Re: Chat Split - by TwentyFour - 16.07.2018, 06:14
Re: Chat Split - by DerickClark - 16.07.2018, 06:22
Re: Chat Split - by CodeStyle175 - 16.07.2018, 06:50
Re: Chat Split - by DerickClark - 16.07.2018, 10:45
Re: Chat Split - by TwentyFour - 16.07.2018, 11:59
Re: Chat Split - by DerickClark - 16.07.2018, 17:27
Re: Chat Split - by Hreesang - 17.07.2018, 04:02
Re: Chat Split - by DerickClark - 17.07.2018, 04:21
Re: Chat Split - by denNorske - 17.07.2018, 05:56

Forum Jump:


Users browsing this thread: 1 Guest(s)