wierd stringsize?
#1

Hello,

When I send a message like this:
Код:
SendClientOOCMessage(playerid,"Hand it over to somebody[{FFCC33}/givesuitcase{CCFFCC}]. Deposit it to your bank account[{FFCC33}/depositsuitcase{CCFFCC}].");
The message doesn't show up ingame because the string is to short, here i show you my sendclientOOCmessage public:

Код:
forward SendClientOOCMessage(playerid,text[]);
public SendClientOOCMessageToAll(color[],text[])
{
	for(new playerid = 0; playerid < MaxPlayers; playerid++)
	{
	    if(IsPlayerConnected(playerid))
	    {
		    format(pS[String],StringSize,"{FFFFFF}[OOC]{CCFFCC} %s",text);
		    SendClientMessage(playerid,White,pS[String]);
	    }
	}
	return 1;
}
The StringSize = 256. I already tried to set it higher but still it won't show up.
When I use the normal SendClientMessage it shows up...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)