Empty message in chat
#1

Hello, why this sendclientmessage wont be sended in the chat instead a empty message comes in the chat a message in which nothing is why is that so?

Код:
format(str,sizeof(str),""chat""OLD_ADMINCMD" [RANK] %s (%d) has been ranked up to rank {007D3E}'{21DD00}1{007D3E}'",PlayerName(killerid),killerid,SendClientMessageToAll(-1,str)); }
Reply
#2

anyone?
Reply
#3

The code i posted there is the problem that it dont show the message instead a empty message get posted in the chat with nothing and a blank line. Did your code fixed this problem?
Reply
#4

Check your string length and increase it maybe?
Reply
#5

Quote:
Originally Posted by Blackazur
Посмотреть сообщение
The code i posted there is the problem that it dont show the message instead a empty message get posted in the chat with nothing and a blank line. Did your code fixed this problem?
Did you even try? Your code used SendClientMessageToAll as argument in the format and Ralfie separated them. Try his code and your question will be answered!

And it has nothing to do with the length.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)