Skip to content

getVehicleType does not work on vehicles made using engineRequestModel #2167

@SDabdlmounaim96

Description

@SDabdlmounaim96

Describe the bug
i suspect this bug is related to my previous issue #2166
but to describe it simply,

vehicles made using newly generated ids by engineRequestModel don't return the proper vehicle type

Expected behaviour
it should return for example "Automobile" or returns the type of it's inherited / cloned vehicle id

Screenshots
image 1 : showing the banshee working just fine
banshee

image 2 : showing it return EMPTY "" when trying with added vehicle (not replaced) via #2166
s15

Code i used to check the values
addEventHandler("onClientVehicleStartEnter", root, function( p )
iprint( "Vehicle Type "..source.vehicleType )
end)

Version
Please provide the following information:

  • server/client version v1.5.8-release-20839

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