mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-18 07:07:32 +08:00
14 lines
324 B
C++
14 lines
324 B
C++
#include "backend/looped/looped.hpp"
|
|
#include "natives.hpp"
|
|
|
|
namespace big
|
|
{
|
|
void looped::weapons_increased_damage()
|
|
{
|
|
if (g->weapons.increased_damage != 1) {
|
|
Hash weapon{};
|
|
WEAPON::GET_CURRENT_PED_WEAPON(self::ped, &weapon, 0);
|
|
WEAPON::SET_WEAPON_DAMAGE_MODIFIER(weapon, g->weapons.increased_damage);
|
|
}
|
|
}
|
|
} |