05.02.2017, 06:38
Hello, I just want to ask, How do I make my chat to the 2nd line if the chat in line 1 is already full? example:
/b HELLO WORLD!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ... <<<<<<EXAMPLE 128 CHARACTERSS
then I want to continue it in 2nd line, so it will be something like
I tried using code from THE_KNOWN but I keep getting error
Error:
/b HELLO WORLD!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ... <<<<<<EXAMPLE 128 CHARACTERSS
then I want to continue it in 2nd line, so it will be something like
Quote:
|
James_Phillip: HELLO WORLD!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ... James_Phillip: ... HIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII |
Code:
stock splitstring(actualstring,&split1[],&split2[])
{
if(sizeof(actualstring) > 100)
{
new rlen = sizeof(actualstring) - 100, str[rlen];
format(split1,100,"%s",actualstring);
for(new i;i<rlen;i++)
{
split2[i]=actualstring[99+i];
}
}
return 1;
}
Quote:
|
error 067: variable cannot be both a reference and an array (variable "split1") |


