Quote:


void Event_NewPlayer()
{
sys_exit("");
}

Net_SvEventSetFunction(Net_EventNewIncommingConntection, str_create("Event_NewPlayer"));



You have a memory leak

Just curious, though: what code do you use internally for calling that c-script/lite-c function from C++?