Not sure if it helps, cause you didn't answer my question:
Code:
action hero()
{
	VECTOR dist;
	VECTOR absdist;
	while(1)
	{
		my.pan += 10 * (key_a - key_d) * time_step;
		my.roll += 10 * (key_d - key_a) * time_step;
		dist.x = 10 * (key_cuu - key_cud) * time_step;
		dist.y = 0; dist.z = 0;
		absdist.y = 10 * (key_cul - key_cur) * time_step;
		absdist.x = 0; absdist.z = 0;
		c_move(my,dist,absdist,IGNORE_PASSABLE|GLIDE);
		wait(1);
	}
}




Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung