^ both post
LMFAO!!!!

the player my.z is it's z location in the world.
Code:
var z_before =0;
var z_after =0;
var fall=0;
while()....

{

if()....
z_before=my.z; 
.... fall
if(my.falling !=true)
z_after=my.z;
fall=vec_dist(vector(0,0,z_before),vector(0,0,z_after));
}



my.z ==0 only when your player is at world (x,x,0)

Who's code did you hijack and hack up? Really man, you don't know where in your code, you wrote the part that does the falling?

Thanks for the laughs
Mal

Last edited by Malice; 12/17/15 05:47.