Skip to content

Fix getVehicleName returning empty string for requested models - #5258

Open
jjustns wants to merge 1 commit into
multitheftauto:masterfrom
jjustns:fix_engineRequestModel_getVehicleName
Open

Fix getVehicleName returning empty string for requested models#5258
jjustns wants to merge 1 commit into
multitheftauto:masterfrom
jjustns:fix_engineRequestModel_getVehicleName

Conversation

@jjustns

@jjustns jjustns commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

The title is pretty self explanatory.

Test plan

  • Call getVehicleName on a vehicle with a requested model

Before (Tested with an Infernus):

Executing client-side command: getVehicleName(getPedOccupiedVehicle(me)), getElementModel(getPedOccupiedVehicle(me))
Command results:  [string], 332 [number]

After:

Executing client-side command: getVehicleName(getPedOccupiedVehicle(me)), getElementModel(getPedOccupiedVehicle(me))
Command results: Infernus [string], 332 [number]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant