fix(InfiniteAmmo/Mag): Removed unused includes
This commit is contained in:
parent
0687b96117
commit
0fb2595242
@ -1,8 +1,6 @@
|
|||||||
#include "backend/looped/looped.hpp"
|
#include "backend/looped/looped.hpp"
|
||||||
#include "core/enums.hpp"
|
#include "gta/joaat.hpp"
|
||||||
#include "util/entity.hpp"
|
#include "natives.hpp"
|
||||||
#include "util/math.hpp"
|
|
||||||
#include "util/notify.hpp"
|
|
||||||
|
|
||||||
namespace big
|
namespace big
|
||||||
{
|
{
|
||||||
|
@ -1,16 +1,12 @@
|
|||||||
#include "backend/looped/looped.hpp"
|
#include "backend/looped/looped.hpp"
|
||||||
#include "core/enums.hpp"
|
#include "natives.hpp"
|
||||||
#include "util/entity.hpp"
|
|
||||||
#include "util/math.hpp"
|
|
||||||
#include "util/notify.hpp"
|
|
||||||
|
|
||||||
namespace big
|
namespace big
|
||||||
{
|
{
|
||||||
void looped::weapons_infinite_mag()
|
void looped::weapons_infinite_mag()
|
||||||
{
|
{
|
||||||
if (g.weapons.infinite_mag) {
|
if (g.weapons.infinite_mag) {
|
||||||
auto const ped = PLAYER::PLAYER_PED_ID();
|
WEAPON::SET_PED_INFINITE_AMMO_CLIP(PLAYER::PLAYER_PED_ID(), g.weapons.infinite_mag);
|
||||||
WEAPON::SET_PED_INFINITE_AMMO_CLIP(ped, g.weapons.infinite_mag);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user