Hi,

i´m trying to send username and password via char array (hope this is the correct way)

my script looks like this.

Sending.

Code:
function login_start(var sender, STRING* msg)
{
	inkey(username);
	
	char sendchr[1];
	
	sendchr[0] = username;
	
	enet_clsend_event(19, sendchr, 1, SERVER);
}



how do i know receive this data? if i use a char pointer i only get annoying signs.

Is therwe another way?