SendClientMessageForAll - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SendClientMessageForAll (
/showthread.php?tid=124263)
SendClientMessageForAll -
AiVAMAN - 29.01.2010
Does this function send message to playerid?
Re: SendClientMessageForAll - WackoX - 29.01.2010
Quote:
Originally Posted by AivaMan
Does this function send message to playerid?
|
There is no such function as 'SendClientMessageForAll'.
Re: SendClientMessageForAll -
Burridge - 29.01.2010
SendClientMessageToAll - Sends a message to all.
SendClientMessage - Sends a message to one player.
It's not ForAll, it's ToAll.
Re: SendClientMessageForAll -
Nakash - 29.01.2010
Quote:
Originally Posted by AivaMan
Does this function send message to playerid?
|
It sends a message to everyone in the server.
If you want to send to a specific playerid,use SendClientMessage(playerid,COLOR,"Message");
Re: SendClientMessageForAll -
AiVAMAN - 30.01.2010
I know, that it sends to everyone, but will it send for me?
like:
pawn Код:
if(strcmp("/test", cmdtext, true, 10) == 0)
{
SendClientMessageToAll(COLOR_RED, "Message was sent");
return 1;
}
will it send for me, if I type this command?
Re: SendClientMessageForAll -
jameskmonger - 30.01.2010
Quote:
Originally Posted by AivaMan
it sends to everyone, but will it send for me?
|
You just contradicted yourself in 9 words. Yes, it sends to
everyone.
Re: SendClientMessageForAll -
AiVAMAN - 30.01.2010
Ok.