- 307
- 218
Нашел
C++:
bool IsOnScreen(DWORD OBJECT)
{
DWORD dwFunc = FUNC_IsVisible;
DWORD dwThis = (DWORD)SF->getSAMP()->getInfo()->pPools->pObject->object[OBJECT]->pGTAEntity;
bool bReturn = false;
_asm
{
mov ecx, dwThis
call dwFunc
mov bReturn, al
}
return bReturn;
}