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.

16 lines
352 B
C++
Raw Normal View History

2022-02-08 23:06:33 -05:00
#include "backend/looped/looped.hpp"
#include "core/enums.hpp"
#include "util/entity.hpp"
#include "util/math.hpp"
#include "util/notify.hpp"
namespace big
{
void looped::weapons_infinite_mag()
{
if (g.weapons.infinite_mag) {
auto const ped = PLAYER::PLAYER_PED_ID();
WEAPON::SET_PED_INFINITE_AMMO_CLIP(ped, g.weapons.infinite_mag);
}
}
}