30.09.2014, 01:29
Hello, I have this script:
So, I need that if the array is too large, it continue on another line, splitting the array on 2
As I can do? Because the code that I have does not work for me, which I do not have bad. Thanks
Sorry for my poor english
pawn Code:
Mensaje(playerid, color, msj[]){
new string[128];
if(strlen(msj) > 100){
new string2[128];
format(string2,256,"... %s",msj[100]);
strdel(msj,100,strlen(msj));
format(string, sizeof(string), "%s", msj);
}
else if(strlen(msj) <= 100){
format(string, sizeof(string), "%s", msj);
}
SendClientMessage(playerid, color, string);
return 1;
}
As I can do? Because the code that I have does not work for me, which I do not have bad. Thanks
Sorry for my poor english