This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
YimMenu/src/util/blip.hpp
gir489 94f956b50a
Better enemy detection for aimbot (#3527)
* Added better enemy detection to aimbot and triggerbot.

* Fixed aimbot and triggerbot using an unreliable method of determining the target's current vehicle.

* Fixed aimbot and triggerbot trying to go after targets that were untargetable.

* Refactored is_ped_a_friend function.

* Added threat check to aimbot.
2024-08-11 01:11:56 +02:00

21 lines
605 B
C++

#pragma once
#include "gta/enums.hpp"
#include "natives.hpp"
#include "pointers.hpp"
#include "script.hpp"
#include "ui/CBlipList.hpp"
namespace big::blip
{
bool get_blip_location(Vector3& location, int sprite, int color = -1);
bool get_objective_location_iteration(Vector3& location, const std::unordered_set<BlipIcons> sprites, const std::unordered_set<BlipColors> blip_colors);
bool get_blip_location_from_offset(Vector3& location, int sprite);
bool get_objective_location(Vector3& location);
rage::CBlip* get_selected_blip();
rage::CBlip* get_blip_from_blip_id(Blip);
}