mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-18 15:17:23 +08:00
Update no_ragdoll.cpp
fix(Self): ragdoll sideeffects as mentioned in #36
This commit is contained in:
parent
152b5fc574
commit
7877c7cd8c
@ -7,9 +7,11 @@ namespace big
|
||||
{
|
||||
Ped player = PLAYER::PLAYER_PED_ID();
|
||||
|
||||
if (g.self.no_ragdoll)
|
||||
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);
|
||||
PED::SET_PED_CAN_RAGDOLL_FROM_PLAYER_IMPACT(player, !g.self.no_ragdoll);
|
||||
PED::SET_PED_RAGDOLL_ON_COLLISION(player, !g.self.no_ragdoll);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user