mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-07 18:03:34 +08:00
fix(NoRagdoll): Disabling no ragdoll will force ragdoll the player
This commit is contained in:
parent
cbd94e4ef0
commit
ba189ff65d
@ -7,7 +7,8 @@ namespace big
|
||||
{
|
||||
Ped player = PLAYER::PLAYER_PED_ID();
|
||||
|
||||
PED::SET_PED_CAN_RAGDOLL(player, !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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user