if (OLCheats->bVisibleFilter)
{
// get the camera
CCamera *pCamera = pGame->GetCamera();
// grab the active cam
CCamSAInterface *pCam = (CCamSAInterface *)((CCamSA *)pCamera->GetCam(pCamera->GetActiveCam()))->GetInterface();
CVector src = pCam->Source;
bool IsPlayerVisible = pGame->GetWorld()->IsLineOfSightClear(&src, &pSpinePos, true, false, false, true, true, false, false);
if (!IsPlayerVisible)
return -1;
}
eah, this must be there in his source code, well.src/OverLight_Funcs.cpp · master · Adrenoid RcK / mod s0beit OverLight · GitLab
GitLab.comgitlab.comPHP:if (OLCheats->bVisibleFilter) { // get the camera CCamera *pCamera = pGame->GetCamera(); // grab the active cam CCamSAInterface *pCam = (CCamSAInterface *)((CCamSA *)pCamera->GetCam(pCamera->GetActiveCam()))->GetInterface(); CVector src = pCam->Source; bool IsPlayerVisible = pGame->GetWorld()->IsLineOfSightClear(&src, &pSpinePos, true, false, false, true, true, false, false); if (!IsPlayerVisible) return -1; }
Thanks for help, but i have one question.src/OverLight_Funcs.cpp · master · Adrenoid RcK / mod s0beit OverLight · GitLab
GitLab.comgitlab.comPHP:if (OLCheats->bVisibleFilter) { // get the camera CCamera *pCamera = pGame->GetCamera(); // grab the active cam CCamSAInterface *pCam = (CCamSAInterface *)((CCamSA *)pCamera->GetCam(pCamera->GetActiveCam()))->GetInterface(); CVector src = pCam->Source; bool IsPlayerVisible = pGame->GetWorld()->IsLineOfSightClear(&src, &pSpinePos, true, false, false, true, true, false, false); if (!IsPlayerVisible) return -1; }
if (!IsPlayerVisible)
{
return -1;
}
if (!IsPlayerVisible)
{
return 1;
}
if (!IsPlayerVisible)
{
return false;
}
dude you are a thief sobfox project 0.0.0.1 health armor GOOOOOOD BABY LOOOOOOOOOOOOL YOU ARE IDIOT