Sources/CryGame C++/Solution1/CryGame/ScriptObjectPlayer.cpp
//////////////////////////////////////////////////////////////////////
// for invehicle weapons  -  if crosshair is on screen/notSnapped

for invehicle weapons  -  if crosshair is on screen/notSnapped
for invehicle weapons - if crosshair is on screen / notSnapped
int CScriptObjectPlayer::GetCrosshairState(IFunctionHandler *pH)
{
	CHECK_PARAMETERS(0);
	bool bResult=false;
	if(m_pPlayer->m_pVehicle)
		bResult = m_pPlayer->m_pVehicle->CrossOnScreen();
	return pH->EndFunction(bResult);
}
int CScriptObjectPlayer :: GetCrosshairState ( IFunctionHandler * pH ) { CHECK_PARAMETERS ( 0 ) ; bool bResult = false ; if ( m_pPlayer -> m_pVehicle ) bResult = m_pPlayer -> m_pVehicle -> CrossOnScreen ( ) ; return pH -> EndFunction ( bResult ) ; }
for invehicle weapons  -  if crosshair is on screen/notSnapped
for invehicle weapons - if crosshair is on screen / notSnapped