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;
}
}








