18.03.2011, 12:50
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.
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?
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]);
StringSize = 256 (even if I set this to 1526 it also fails)
Somebody know a solution?