Never tried this, so I might just be thinking of something else, but
Code:Jump() { self endon("disconnect"); jumpHeight = getDvar("jump_height"); if(jumpHeight == 39) { setDvar("jump_height", 800); } else { setDvar("jump_height", 39); } }
This code doesn't work for me. I'm using a menu and when i choose jump, nothing happens. Can anyone explain?Code:Jump() { self endon("disconnect"); if("jump_height" == "39") { setDvar("jump_height", "800"); } else { setDvar("jump_height", "39"); } }
Last edited by Ju1cy; 01-19-2011 at 01:24 PM.
Never tried this, so I might just be thinking of something else, but
Code:Jump() { self endon("disconnect"); jumpHeight = getDvar("jump_height"); if(jumpHeight == 39) { setDvar("jump_height", 800); } else { setDvar("jump_height", 39); } }
thanks, but do you know if there's an easy way to toggle the jump from normal jump to super jump because that is what i was trying to do. Atleast the super jump works now but i can't turn it off.
EDIT: thanks guys, but still can't put off super jump
Last edited by Ju1cy; 01-19-2011 at 01:12 PM.
I do know there is some kind of getVelocity code, that doesn't involve a Dvar.
Can't remember it though, and can't think of anything else. Sorry ;(
Found the code in Elitemossys v8
Code:Jump() { self endon("disconnect"); if(getDvarInt("jump_height")!=999) { setDvar("jump_height",999); setDvar("bg_fallDamageMaxHeight",9999); setDvar("bg_fallDamageMinHeight",9998); } else { setDvar("jump_height",39); setDvar("bg_fallDamageMaxHeight",300); setDvar("bg_fallDamageMinHeight",128); } }
Mork as solved?
My minecraft launcher!
A full-featured, actively-developed windows-only Minecraft Launcher! It allows you to download older versions of minecraft.jar through the options menu, multi-username support, RAM allocation support, non-legit logins and more!
[img]https://i61.photobucke*****m/albums/h56/damwickid/pscs5.png[/img]
/solved
Good job guys
/Closed