How can i endscene this so the hack works

if(GetAsyncKeyState(VK_NUMPAD1)<0)
if(Tracers){
PushToConsole("ShowFirePath 1" );
Tracers = true;
}else{
PushToConsole("ShowFirePath 0" );
Tracers = false;

Im confused where the endscene goes!

new for codding, i know its newbie, srry