[Scripting Help]Max chat string
#4

Quote:
Originally Posted by [HiC
TheKiller ]
Well, you can make it so it uses SendClientMessage for the message on OnPlayerText so you can type longer sentences.
As he said, you can do this:
pawn Код:
public OnPlayerText(playerid, text[])
{
  SendPlayerMessageToAll(playerid, " ");
  SendClientMessageToAll(0xFFFFFFFF, text);
  return 0;
}
That would be something like this:
Код:
Miguel:
This is the message, just shown by the code I just told you.
Instead of:
Код:
Miguel: This is the message by the normal chat.
Reply


Messages In This Thread
[Scripting Help]Max chat string - by Visualbr - 29.05.2010, 12:09
Re: [Scripting Help]Max chat string - by (SF)Noobanatior - 29.05.2010, 12:11
Re: [Scripting Help]Max chat string - by [HiC]TheKiller - 29.05.2010, 12:14
Re: [Scripting Help]Max chat string - by Miguel - 29.05.2010, 12:22
Re: [Scripting Help]Max chat string - by [HiC]TheKiller - 29.05.2010, 12:25
Re: [Scripting Help]Max chat string - by Visualbr - 29.05.2010, 12:31
Re: [Scripting Help]Max chat string - by [HiC]TheKiller - 29.05.2010, 12:56
Re: [Scripting Help]Max chat string - by Visualbr - 30.05.2010, 09:33
Re: [Scripting Help]Max chat string - by Visualbr - 30.05.2010, 11:47

Forum Jump:


Users browsing this thread: 1 Guest(s)