28.02.2014, 17:15
Hi there, strdel deletes the part of text, you can use strmid which extracts a part of text from a string.
pawn Код:
SendClientMessageEx(playerid, color, string[])
{
if(strlen(string) >= 128)
{
new partone[129], parttwo[129];
strmid(partone, string, 0, 128);
strmid(parttwo, string, 128, strlen(string));
SendClientMessage(playerid, color, partone);
SendClientMessage(playerid, color, parttwo);
}
else
SendClientMessage(playerid, color, string);
return 1;
}

