04.08.2011, 01:42
pawn Код:
if(strlen(chat2) > 80)//If the chat longer that 80
{
strmid(string1,Original,75,160);//Copy from word 75 to 160 from Original chat
strdel(Original,81,160);//Cut Original chat from word 81 to word 160
CostumFormat(output1,"%s-",string);
CostumFormat(output2,"-%s",string1);
SendClientMessage(i,color3,output1);
SendClientMessage(i,color3,output2);
}
else SendClientMessage(i,color3,Original);
https://sampwiki.blast.hk/wiki/Strmid