Skip to content

fix(cl_vehicle): Pass correct vehicle type on spawn request#1094

Open
yorick2002 wants to merge 1 commit into
citizenfx:developfrom
yorick2002:patch/vehtype-fix
Open

fix(cl_vehicle): Pass correct vehicle type on spawn request#1094
yorick2002 wants to merge 1 commit into
citizenfx:developfrom
yorick2002:patch/vehtype-fix

Conversation

@yorick2002
Copy link
Copy Markdown
Contributor

This PR fixes the issue where txAdmin passes the wrong vehicle type causing the menu to spawn an oil tanker instead of the vehicle you are trying to spawn.

Thanks to Ehbw for providing the fix.

Reported in: https://discord.com/channels/192358910387159041/1462429224311718020

@yorick2002 yorick2002 requested a review from tabarra as a code owner January 18, 2026 16:57
@tabarra
Copy link
Copy Markdown
Collaborator

tabarra commented Jan 19, 2026

Need to check with the framework team if something like GetVehicleTypeFromName() is already available

@tabarra tabarra added the bug Something isn't working label Jan 24, 2026
@tabarra
Copy link
Copy Markdown
Collaborator

tabarra commented Feb 17, 2026

Also, related to #1025

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants