Code:
while(1)
{
if(key_cur) //walk
{
c_move(me, moveVector, nullvector, GLIDE);
ent_animate(me, "walk", ANM_CYCLE);
...
}
if(key_space) //jump
{
c_move(me, moveVector, nullvector, GLIDE); //moveVector.z is for up/down movement 
ent_animate(me, "jump",...);
...
}
}


something like that. if you dont understand this, i suggest you learn lite-c first. you have workshop. after that try it on your own. search the manual



Ubi bene, ibi Patria.