2022-12-22 21:23:32 +00:00
|
|
|
#include "backend/looped_command.hpp"
|
2023-03-01 21:27:15 +00:00
|
|
|
#include "natives.hpp"
|
2022-03-02 08:48:53 -05:00
|
|
|
|
|
|
|
namespace big
|
|
|
|
{
|
2022-12-22 21:23:32 +00:00
|
|
|
class force_crosshairs : looped_command
|
2022-03-02 08:48:53 -05:00
|
|
|
{
|
2022-12-22 21:23:32 +00:00
|
|
|
using looped_command::looped_command;
|
|
|
|
|
|
|
|
virtual void on_tick() override
|
|
|
|
{
|
2022-11-26 20:42:58 +01:00
|
|
|
HUD::SHOW_HUD_COMPONENT_THIS_FRAME(static_cast<int>(HudComponents::RETICLE));
|
2022-03-02 08:48:53 -05:00
|
|
|
}
|
2022-12-22 21:23:32 +00:00
|
|
|
};
|
|
|
|
|
2023-03-01 21:27:15 +00:00
|
|
|
force_crosshairs g_force_crosshairs("crosshairs", "Force Crosshairs", "Shows the crosshair even when you are not aiming",
|
|
|
|
g.weapons.force_crosshairs);// do we need this?
|
2022-12-22 21:23:32 +00:00
|
|
|
}
|