Skip to content

Can't make ped crouch #488

@ArranTuna

Description

@ArranTuna

Describe the bug
Cannot make ped crouch. When using 'setPedControlState' he will start crouching for a few milliseconds and stops.

To Reproduce

-- CLIENTSIDE SCRIPT
local ped1 = createPed(101, 0, 0, 3)
addCommandHandler('crouch_ped', function()
    setPedControlState(ped1, 'crouch', true)
end)

Also you can reproduce it by set control 'crouch' state to 'true' and set it to 'false' after 100 ms.

Expected behavior
Ped should stay crouched as there is no way to keep a ped crouched.

MTA Client: 1.5.3

MTA Server: 1.5.3

Additional context
From https://bugs.mtasa.com/view.php?id=9495

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions