asay command doubled message
#5

Quote:
Originally Posted by Slawi
Посмотреть сообщение
try this maybe will help
Код:
stock SendMessageToPlayers(text[])
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
	if(PlayerInfo[i][pAdmin] == 1)
	{
		SendClientMessage(i, COLOR_LEVEL1,text);
	}
	else if(PlayerInfo[i][pAdmin] == 2)
	{
  		SendClientMessage(i, COLOR_LEVEL2,text);
	}
	else if(PlayerInfo[i][pAdmin] == 3)
	{
		SendClientMessage(i, COLOR_LEVEL3,text);
	}
	}
	return 1;
}
I assume its only gonna send messages to admins, this should send the message to everyone.
Reply


Messages In This Thread
asay command doubled message - by Mike861 - 04.07.2018, 13:52
Re: asay command doubled message - by Exhibit - 04.07.2018, 13:57
Re: asay command doubled message - by Slawi - 04.07.2018, 14:07
Re: asay command doubled message - by Banditul18 - 04.07.2018, 14:08
Re: asay command doubled message - by Mike861 - 04.07.2018, 14:09
Re: asay command doubled message - by Lokii - 04.07.2018, 14:32
Re: asay command doubled message - by Calisthenics - 04.07.2018, 14:46
Re: asay command doubled message - by Slawi - 04.07.2018, 14:49
Re: asay command doubled message - by Mike861 - 04.07.2018, 14:52

Forum Jump:


Users browsing this thread: 1 Guest(s)