Code:
void createObject(LFTimerRef *timer)
{
	sys_marker("ABC");
	ENTITY *object = ent_create(CUBE_MDL, vector(2048, 0, 0), NULL); // "box.mdl"
	sys_marker(NULL);
	var force = 32;
	...

void main()
{
	level_load(NULL); 
	sys_marker("BBC");
	ENTITY *object = ent_create(CUBE_MDL, vector(2048, 0, 0), NULL); // "box.mdl"
	sys_marker(NULL);
	...



There is no error in the main function, only the ent_create-command in createObject fails.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends