 |
|
Veteran Member
Join Date: Feb 2007
Location: Tennessee
|

11-14-2010
, 23:41
Re: how to check vacant place
|
#2
|
Quote:
Originally Posted by Jacob
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. 
|
It already does that. Have you even tested it?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw
I love you exolent!
|
|
|
|
|