david1337hax

Request EntityArea

Jun 7th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. bool isEntityInArea(Entity Ent, Vector3 Location, float Radius)
  2. {
  3. if (ENTITY::IS_ENTITY_IN_AREA(Ent, Location.x - (Radius / 2), Location.y - (Radius / 2), Location.z - (Radius / 2), Location.x + (Radius / 2), Location.y + (Radius / 2), Location.z + (Radius / 2), false, true, 0))
  4. return true;
  5. else
  6. return false;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment