What do you want to do exactly?
Try to disable physics for playerentity, move it and enable it again.
For basic gravity you can use the following:
VECTOR* pl_dist;
pl_dist.x = (key_w - key_s)*time_step;
// Make a tracedown:
pl_dist.z = c_trace(player.x, vector(player.x, player.y, player.z - 4000), IGNORE_ME | IGNORE_PASSABLE);
c_move(player, pl_dist.x, nullvector, GLIDE);
I would prefer this.