mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-05 17:13:29 +08:00
fix(NoClip): Enforce no collision & no physics
This commit is contained in:
parent
32bd600861
commit
a6e2fc2568
@ -22,8 +22,7 @@ namespace big
|
|||||||
{
|
{
|
||||||
functions::take_control_of_entity(ent);
|
functions::take_control_of_entity(ent);
|
||||||
|
|
||||||
if (bNoclip != bLastNoClip)
|
ENTITY::SET_ENTITY_COLLISION(ent, false, false);
|
||||||
ENTITY::SET_ENTITY_COLLISION(ent, false, false);
|
|
||||||
|
|
||||||
for (int control : controls)
|
for (int control : controls)
|
||||||
PAD::DISABLE_CONTROL_ACTION(0, control, true);
|
PAD::DISABLE_CONTROL_ACTION(0, control, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user