Skip to content

getVehicleCompatibleUpgrades returns different value on serverside and clientside #2476

Open
@neku172

Description

@neku172

Describe the bug

Function getVehicleCompatibleUpgrades returns different values on server-side and client-side.

To reproduce

  1. Get in the vehicle (e.g. Bullet)
  2. Type "srun outputChatBox(inspect(getVehicleCompatibleUpgrades(me.vehicle)))"
  3. Type "crun outputChatBox(inspect(getVehicleCompatibleUpgrades(me.vehicle)))"
  4. Look at chat/console
  5. Results are different

Expected behaviour

Results should be the same on server and client

Screenshots

image

Version

Server: MTA:SA Server v1.5.9-release-21048
Client: Multi Theft Auto v1.5.9-release-21048

Additional context

Also, trying to upgrade 1164 in Elegy on server doesn't work, but on client everything works perfectly.
image

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