Message to all when typed command
#2

use SendClientMessageToAll(-1, "message here");

this will send to all players Much better than SendClientMessage if you want it to go to ALL players.

If you want it to go to more than one person but not all players, use SendClientMessage in a loop, where the loop will go through all players and use an if statement to determine if it should send the message to them

Код:
hello(string[]) {
SendClientMessageToAll(-1,string);
}
Reply


Messages In This Thread
Message to all when typed command - by ultrAslan - 09.03.2015, 20:33
Re: Message to all when typed command - by wooolly - 09.03.2015, 20:38
AW: Re: Message to all when typed command - by ultrAslan - 09.03.2015, 20:46
Re: Message to all when typed command - by Misiur - 09.03.2015, 20:49
Re: Message to all when typed command - by ReD_HunTeR - 09.03.2015, 21:02
Re: Message to all when typed command - by MohanedZzZ - 09.03.2015, 21:14
Re: Message to all when typed command - by ReD_HunTeR - 09.03.2015, 21:22
AW: Message to all when typed command - by ultrAslan - 09.03.2015, 21:33
Re: Message to all when typed command - by Misiur - 09.03.2015, 21:43
Re: Message to all when typed command - by MohanedZzZ - 10.03.2015, 16:25

Forum Jump:


Users browsing this thread: 5 Guest(s)