hi,

i have aproblem i wanted to create a chat.
therefor i created a STRING* chatmsgs[5]; .

now i do this
Code:
function receive_chat_msg(var sender, STRING* msg)
{
	STRING* save_string = "#100"; //stores the msg string, because it's only 1 frame available
	
	str_cpy(save_string,msg);
	
	str_cpy(chatmsgs[4],chatmsgs[3]);
	str_cpy(chatmsgs[3],chatmsgs[2]);
	str_cpy(chatmsgs[2],chatmsgs[1]);
	str_cpy(chatmsgs[1],chatmsgs[0]);
	str_cpy(chatmsgs[0],save_string);
}



whenever i write a new mesage a error occure that tehres a error in this funtion. annybody knows help?