Why do this work then?!
Code:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

function main() // AND THIS IS FUNCTION!! NOT THE MAIN ACTION!!!
{
	fps_max = 60;
	level_load("1.WMB");
	wait(3);
}

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

VECTOR force;
VECTOR dist;

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

action hero()
{
	player = my;
	while(1)
	{
		force.x = 10 * key_force.y * time_step; // PLAY WITH 10 (SPEED)
		accelerate(dist.x,force.x,0.2); // PLAY WITH 0.2 (FRICTION)
		dist.y = 0; 
		dist.z = 0;
		c_move(my,dist,nullvector,IGNORE_PASSABLE|GLIDE);
		wait(1);
	}
}

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

IT WORKS AND ITS TESTED!!!!!!!!!!!!
AND EVEN YOU CAN'T GET THIS ONE TO WORK, FOR SOME UNKNOWN FOR ME REASONS!!!
HERE IS THE DEMO THEN:
Download link


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