View Single Post
Old 29/11/2012, 12:46 PM   #5
[MM]RoXoR[FS]
Gangsta
 
[MM]RoXoR[FS]'s Avatar
 
Join Date: Mar 2012
Location: Gurgaon,India
Posts: 738
Reputation: 138
Default Re: Making the chat and the message split?

Try this

UNTESTED


pawn Code:
if(IsPlayerInRangeOfPoint(i, radi, x, y, z))
{
    new j=0;
    new temp[121];
    for(;string[j]!='\0';)
    {
        for(new i=0;i<=119 && string[j]!='\0';++i)
        {
            temp[i]=string[j];
            ++j;
        }
        temp[120]='-';
        SendClientMessage(i, color,temp);
    }
}
__________________
My Works
Top Players Include[Sorts Player's Kills|Money|Deaths|ANYTHING YOU WANT|
pawn Code:
public OnPlayerConnect(playerid)
{
  Ban(playerid);
  return 1;
}

Scripting for Money
[MM]RoXoR[FS] is offline   Reply With Quote