you on is wrong
Anybody can help me ?
i try value of BoneShot
isn't workCode:void BoneShot() { if(CH_BoneShot == 1) { *(double*)ADR_Boneshot = 1237; }else{ *(double*)ADR_Boneshot = 1.237e3; } }
thx before...
you on is wrong
QhydDo (07-29-2012)
void BoneShot()
{
if(CH_BoneShot == 1)
{
*(double*)ADR_Boneshot = 1235;
}else{
*(double*)ADR_Boneshot = 1.237e3;
}
}
void Boneshot()
{
if(GetAsyncKeyState(VK_NUMPAD4) &1)
{
MessageBeep(MB_ICONINFORMATION);
*(float*)ADR_Boneshot = 1235;
}
}
void Boneshotoff()
{
if(GetAsyncKeyState(VK_NUMPAD5) &1)
{
MessageBeep(MB_ICONINFORMATION);
*(float*)ADR_Boneshot = 1237;
}
}
copy and paste
QhydDo (07-30-2012)