Help me

Posts 1–13 of 13 · Page 1 of 1
Help me
Hello, My superjump is working but i have an quesiton,
i no w only have on.

I added 3 funcs that i have :

{"Off","500","1000","1500","To Hell",};

Now, how can i add it to the hack source ?

my source for it is ;

if(c_SuperJump == 1)
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)Adr_PlayerPointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = 500;

How can i add that i have if i put 500, it goes 500m high. 1000, 1000 high Etc.
oh u want something like this?:
Code:
 if (CH_SuperJump !=0)
		{
			 if(GetAsyncKeyState(VK_SPACE))
			{
				switch (CH_SuperJump)
				{
				case 1: *(float*)(Player+OFS_Z) = 500;break;
					case 2: *(float*)(Player+OFS_Z) = 1000;break;
						case 3: *(float*)(Player+OFS_Z) = 1500;
					}}}
Its menu releated not soruce releated
Quote Originally Posted by Pitcher View Post

{"Off","500","1000","1500","To Hell",};


^
i love the last part "TO HELL"..XD
when I get on comp I give u it hard to type on ipod
Code:
char *jump = {"Off","500","1000","1500","To Hell"};
Add it to your base.cpp
That's not it @Terell.. He already had that. Just change if to switch and use cases
I would just do three different hotkeys for three different hieghts. Easier for me that way.
@Pitcher


{
switch(CH_SuperJump)
{
case 1:if(GetAsyncKeyState (VK_SPACE) &1)
{
*(float*)(Playerpointer+OFS_Z) = 500;break;
}
case 2:if(GetAsyncKeyState (VK_SPACE) &1)
{
*(float*)(Playerpointer+OFS_Z) = 1000;break;
};
case 3:if(GetAsyncKeyState (VK_SPACE) &1)
{
*(float*)(Playerpointer+OFS_Z) = 1500;break;
}
}
}

// Typed it from memory but pretty sure I'm right
Quote Originally Posted by barcoder View Post
@Pitcher


{
switch(CH_SuperJump)
{
case 1:if(GetAsyncKeyState (VK_SPACE) &1)
{
*(float*)(Playerpointer+OFS_Z) = 500;break;
}
case 2:if(GetAsyncKeyState (VK_SPACE) &1)
{
*(float*)(Playerpointer+OFS_Z) = 1000;break;
};
case 3:if(GetAsyncKeyState (VK_SPACE) &1)
{
*(float*)(Playerpointer+OFS_Z) = 1500;break;
}
}
}

// Typed it from memory but pretty sure I'm right
Your not helping, this has nothing to do with the options, its the source its so much diffrent
this is helping, this is the fixed function for his source. please dont correct me.

srry for semicolon after right bracket, just remove it
How do you reach hell by going upwards? I thought it was beneath us?

OT:

You want it in a menu or what?
Posts 1–13 of 13 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us