how to make chat continue in 2nd line
#1

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

Quote:

James_Phillip: HELLO WORLD!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ...
James_Phillip: ... HIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII

I tried using code from THE_KNOWN but I keep getting error
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;
}
Error:
Quote:

error 067: variable cannot be both a reference and an array (variable "split1")

Reply


Messages In This Thread
how to make chat continue in 2nd line - by DGRP - 05.02.2017, 06:38
Re: how to make chat continue in 2nd line - by SyS - 05.02.2017, 07:01
Re: how to make chat continue in 2nd line - by DGRP - 05.02.2017, 07:15
Re: how to make chat continue in 2nd line - by SyS - 05.02.2017, 07:28
Re: how to make chat continue in 2nd line - by GoldenLion - 05.02.2017, 07:44

Forum Jump:


Users browsing this thread: 1 Guest(s)