No no, I don't set "player_height" to player.z . I have a little gravity code. There is;

Code:
player_height = c_trace(my.x, vector(my.x, my.y, my.z - 10000), IGNORE_ME | IGNORE_PASSABLE | USE_BOX | SCAN_TEXTURE);
	if(player_height > 1) // oyuncu havadaysa
	{
		gravity_vector.z -= 1 * time_step; // asagi cek
	} else {
		if(is_player_jumping == 1) // if player isn't jumping, it will be 1
			movement_vector.z = 0; // ellesme
	}



I think, cause of wrong return of c_trace, my gravity function doesn't work :S