Skip to content

warpPedIntoVehicle doesn't work when there are too many vehicles streamed in #863

@umitemre

Description

@umitemre

Describe the bug
I have a map that contains over 500+ vehicles and players can spawn vehicles themselves with /vehicle command. This command also warps players into newly created vehicle. In any area which has vehicles created with the .map file, players can not warp into this newly created vehicle because warpPedIntoVehicle() doesn't do its job.

To reproduce

  1. Create a map file that contains too many cars.
  2. Test warpPedIntoVehicle to a vehicle that's created with createVehicle(...)
  3. You'll see it's not going to warp into the vehicle.

Expected behaviour
I expect my ped warp into vehicle even though the area is full of vehicles or the .map file has 60000 vehicles.

Screenshots

  • no screenshots. -

Version
I'm using MTA 1.5.6 on Linux with Wine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions