Skip to content

getPedOccupiedVehicle and isPedInVehicle not working as wanted #3830

@Xenius97

Description

@Xenius97

Describe the bug

When you use setPedEnterVehicle and ped isn't sitting in vehicle, getPedOccupiedVehicle and isPedInVehicle will return element/true.

Steps to reproduce

Lock your vehicle doors
Spawn a ped on serverside
Call setPedEnterVehicle

https://streamable.com/0vdefx

Version

Multi Theft Auto v1.6-release-22789

Additional context

No response

Relevant log output

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions