Skip to content

Add getPedOccupiedVehicleStart serversideΒ #2611

@MrDadosz

Description

@MrDadosz

Is your feature request related to a problem? Please describe.

You can't now check if you're in vehicle in serveride. getPedOccupiedVehicle should return data only when player is in a vehicle, it should return false when player click F/Enter and is trying to get in a vehicle. Now you have to trigger clientside to make sure that player is not walking to a closed vehicle and wait for response.
getPedOccupiedVehicle should have new argument "isEntering" set default to true to keep compatibility with older scripts.

Describe the solution you'd like

getPedOccupiedVehicle and getPedOccupiedVehicleStart

Describe alternatives you've considered

No response

Additional context

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions