GlassWall

Posts 1–13 of 13 · Page 1 of 1
GlassWall
Is there something wrong with my code? Its not working.

Code:
void GlasswallOn ()
{
if(GetAsyncKeyState(VK_UP) &1)
{
*(float*)(ADR_GLASSWALLS) = 1;
}
}

void GlasswallOff ()
{
if(GetAsyncKeyState(VK_DOWN) &1)
{
*(float*)(ADR_GLASSWALLS) = 0;
}
}
Quote Originally Posted by DaneCoder View Post
Is there something wrong with my code? Its not working.

Code:
void GlasswallOn ()
{
if(GetAsyncKeyState(VK_UP) &1)
{
*(float*)(ADR_GLASSWALLS) = 1;
}
}

void GlasswallOff ()
{
if(GetAsyncKeyState(VK_DOWN) &1)
{
*(float*)(ADR_GLASSWALLS) = 0;
}
}
http://www.mpgh.net/forum/showthread.php?t=824772
Still not working dude
Check if you've the right address and make sure you're hooking it correctly
@DaneCoder change the float to int.

like this:

void GlasswallOn ()
{
if(GetAsyncKeyState(VK_UP) &1)
{
*(int*)(ADR_GLASSWALLS) = 1;
}
}
Quote Originally Posted by emiedumalasa View Post
@DaneCoder change the float to int.

like this:

void GlasswallOn ()
{
if(GetAsyncKeyState(VK_UP) &1)
{
*(int*)(ADR_GLASSWALLS) = 1;
}
}
Not working
Quote Originally Posted by DaneCoder View Post
Not working
try to change the value of 1 to 4, if is it not working your addy of glasswall is wrong.
Quote Originally Posted by emiedumalasa View Post
try to change the value of 1 to 4, if is it not working your addy of glasswall is wrong.
This is my addy

Code:
#define ADR_GLASSWALLS			0x00A84CC4
Dane, Imma PM you... give you my Addy and Glasswall
Quote Originally Posted by noisyboymax View Post
Dane, Imma PM you... give you my Addy and Glasswall
Thanks bro!
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