You can use this also
Code:
stock bool:Is_Hull_Vacant(const Float:Origin[3], Hull, id)
{
new tr;
engfunc(EngFunc_TraceHull, Origin, Origin, 0, Hull, id, tr);
if(!get_tr2(tr, TR_StartSolid) || !get_tr2(tr, TR_AllSolid))
return true;
return false;
}
Note: "Hull = pev(index, pev_flags) & FL_DUCKING ? HULL_HEAD : HULL_HUMAN;"
if "Origin[3]" is vacant will return true, else false.
__________________