Thread: Code

Results 1 to 7 of 7

Threaded View

  1. #1
    Ju1cy's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    my house
    Posts
    39
    Reputation
    10
    Thanks
    4
    My Mood
    Inspired

    [SOLVED] Close please

    Code:
    Jump()
    {
    	self endon("disconnect");
    	if("jump_height" == "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?
    Last edited by Ju1cy; 01-19-2011 at 01:24 PM.