Skip to content

Attach trailer to engineRequestModel truck #4525

@Petya0x44

Description

@Petya0x44

Describe the bug

if you create your own truck using engineRequestModel, then it becomes impossible to attach a trailer

Steps to reproduce

local id = engineRequestModel("vehicle", 514)

local txdData = engineLoadTXD("petro.txd")
engineImportTXD(txdData, id)

local dffData = engineLoadDFF("petro.dff")
engineReplaceModel(dffData, id)
...
setElementModel(model, id) -- model from server

Version

No response

Additional context

No response

Relevant log output

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