SendClientMessageForAll
#1

Does this function send message to playerid?
Reply
#2

Quote:
Originally Posted by AivaMan
Does this function send message to playerid?
There is no such function as 'SendClientMessageForAll'.
Reply
#3

SendClientMessageToAll - Sends a message to all.

SendClientMessage - Sends a message to one player.

It's not ForAll, it's ToAll.
Reply
#4

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");
Reply
#5

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?
Reply
#6

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.
Reply
#7

Ok.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)