try this (maybe there are mistakes^^) i did not test it
Code:
VECTOR move_vector;

action PlayerAct
{
	VECTOR* move_vector = nullvector;

	
	while(1)
	{
		if (key_w) 
			move_var.y = 20;//move 20, if key w is pressed
		
		if (key_s)
			move_var.y = -20;//move -20, if key s is pressed
		
		if ((!key_w && !key_s) || (key_w && key_s)) //if both keys are pressed or not pressed!!
			move_car.y = 0; // if no key is pressed, set 0
		
		c_move (my, move_vector, nullvector, GLIDE);
		
		wait(1);
	}
}



new project in early stage...

Intel Xeon X3450 2,66GHz | Mushkin 8 Gib | Zotac GTS250 + 7300LE | A8.3 com