Skip to content

When adding weapon models as objects to a map, it doesn't save their name #601

Closed
@SpeedyFolf

Description

@SpeedyFolf

Which resource(s) have this problem?

Something in [editor]

Describe the bug

When adding weapon models as objects to a map, it doesn't save their name in the .map file, neither their custom name like Regular_Dildo or model name like gun_dildo1 (321), they will just be named like object (1) and object (2) and so on instead of object (gun_dildo1) (1) and object (gun_dildo2) (1) and so on.

To Reproduce

Delete the server folder from your MTA installation to make sure you have a fresh copy, run the nightly installer from https://nightly.multitheftauto.com and make sure to install all of the resources, open the game and click Map editor, press F, click Object (at the bottom-left), search for 321 or Regular_Dildo, click OK, place it, and click Current Elements (at the top). Optionally click Save As (at the top) to save the map and open the .map file in the \server\mods\deathmatch\resources\ folder in your MTA installation.

Expected behavior

The objects should be named like object (gun_dildo1) (1) and object (gun_dildo2) (1) and so on instead of object (1) and object (2) and so on.

Version

1.6.0-9.22953

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions