07.01.2011, 14:35
Hello,
When I send a message like this:
The message doesn't show up ingame because the string is to short, here i show you my sendclientOOCmessage public:
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...
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}].");
Код:
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; }
When I use the normal SendClientMessage it shows up...