Text length
#2

pawn Код:
stock SendClientMessageEx(playerid, Color, Message[], Interval)
{
  new Len = strlen(Message);
  while(strlen(Message) > Inverval)
  {
    new Str[256];
    strmid(Str, Message, 0, Interval);
    SendClientMessage(playerid, Color, Str);
    strdel(Message, 0, Interval);
  }
  if(strlen(Message) > 1) return SendClientMessage(player, Color, Message);
}
(Not tested). Change interval to 25 =].
Reply


Messages In This Thread
Text length - by deather - 28.02.2010, 06:03
Re: Text length - by [HiC]TheKiller - 28.02.2010, 06:12
Re: Text length - by deather - 28.02.2010, 06:47
Re: Text length - by [HiC]TheKiller - 28.02.2010, 06:59

Forum Jump:


Users browsing this thread: 1 Guest(s)