and hover is in your menu in your sig.. wdf? its in your menu but you dont have the source?
In CA, Y is vertical.
There are a few ways of doing this though, one is to set gravity to 0 and the other is to freeze the Y, although you will still fall since the server sets you back. You will fall and dieeeeee
Dude its not working that why i took this a while ago and it fails.
What is the original values to it. Also would this work?
if( Hover > 0 ){
this->PushToConsole("PlayerGravity 0");
this->PushToConsole("PlayerVelocity 0");
Sleep(100);
}
I think its PlayerGravity 0
That way you dont go up or down, just float
You forgot velocity, and if you try that, if you go up a slope, you will just keep going up.
It's more like if you say have a float that you use to store your position. if your y is ever less than(higher than) the float, then you would set the float to your new y, otherwise set your y to the float.
As for the PTC for player velocity I wouldn't know how that works exactly, but I assume you would not want to push it constantly.
Originally Posted by AVGN
i dont know the source..
but dont you just freeze the Z axis?
and hover is in your menu in your sig.. wdf? its in your menu but you dont have the source?
Yea you can freeze the y value in the local player struct.
Originally Posted by IcySeal
Yea you can freeze the y value in the local player struct.
.. I have to have a look
Originally Posted by ac1d_buRn
.. I have to have a look
No you should be able to do this on your own acid. Stop being a baby.
My fly hack in my menu isnt working very well....,
It is like a weird gravity...
Don't be mean to my Acidburn
PlayerGravity 0 is Hover
PlayerGravity -1099 is the default( with -800 you have a little "Superjump")
Originally Posted by IcySeal
No you should be able to do this on your own acid. Stop being a baby.
Never asked for help D:
All i said was i have to have a look at that.
Flame Moar