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.

18 lines
392 B
C++
Raw Normal View History

2021-05-21 00:52:59 +02:00
#include "backend/looped/looped.hpp"
#include "natives.hpp"
namespace big
{
void looped::self_no_ragdoll()
{
Ped player = PLAYER::PLAYER_PED_ID();
if (g.self.no_ragdoll) {
PED::SET_PED_CAN_RAGDOLL(player, !g.self.no_ragdoll);
PED::SET_PED_CAN_RAGDOLL_FROM_PLAYER_IMPACT(player, !g.self.no_ragdoll);
PED::SET_PED_RAGDOLL_ON_COLLISION(player, !g.self.no_ragdoll);
}
2021-05-21 00:52:59 +02:00
}
2021-12-19 14:02:38 +08:00
}