Increase message size.
#1

Hello, several times when I send a message with SendClientMessage it doesn't send the messag when the string is to long. Even if I increase the stringsize of the string that should be send.
It's very annoying because the strings aren't even that long, Here i show you an example.
Код:
new Reason[128];
// Getting data from sql.
format(pS[String],StringSize,"{A80000}Ban information: Banned by [{FFFFFF}%s{A80000}] Banned on [{FFFFFF}%s{A80000}] Reason of ban [{FFFFFF}%s{A80000}].",BannedBy,Date,Reason);
SendClientMessage(playerid,Red,pS[String]);
This message only will be send when I remove the Reason.
StringSize = 256 (even if I set this to 1526 it also fails)
Somebody know a solution?
Reply


Messages In This Thread
Increase message size. - by KaleOtter - 18.03.2011, 12:50
Re: Increase message size. - by PinkFloydLover - 18.03.2011, 12:57
Re: Increase message size. - by Jochemd - 18.03.2011, 13:55
Re: Increase message size. - by KaleOtter - 19.03.2011, 00:00

Forum Jump:


Users browsing this thread: 1 Guest(s)