PHP Code:
stock is_hull_vacant(Float:origin[3], hull) {
engfunc(EngFunc_TraceHull, origin, origin, 0, hull, 0, 0)
if (!get_tr2(0, TR_StartSolid) && !get_tr2(0, TR_AllSolid) && get_tr2(0, TR_InOpen)) return true;
return false;
}
hull = (pev(id, pev_flags) & FL_DUCKING) ? HULL_HEAD : HULL_HUMAN
now i want to check that if there is an ent(not human) on this location,how to change the code.