Skip to content

Fix Cement Truck drum not turning on custom vehicle models - #5166

Open
TheCrazy17 wants to merge 1 commit into
multitheftauto:masterfrom
TheCrazy17:fix/cement-truck-custom-models
Open

Fix Cement Truck drum not turning on custom vehicle models#5166
TheCrazy17 wants to merge 1 commit into
multitheftauto:masterfrom
TheCrazy17:fix/cement-truck-custom-models

Conversation

@TheCrazy17

Copy link
Copy Markdown
Contributor

Summary

The Cement Truck's drum, now work propertly on a clone of the model created with engineRequestModel, exactly as they do on the stock 524.

MTA_.San.Andreas.DEBUG.2026-08-08.22-39-43.mp4

Motivation

Part of #1861.

Test plan

Clone model 524 with engineRequestModel, replace it, and setElementModel a vehicle to it. Drive it around and confirm the drum turns, the same way an unmodified Cement Truck does.

cementtruck.zip

Checklist

  • Your code should follow the coding guidelines.
  • Smaller pull requests are easier to review. If your pull request is beefy, your pull request should be reviewable commit by commit.

Same split as the Dozer's blade, the Forklift's forks and the Packer's container: ProcessControl decides whether to turn the drum and reach the code that works out the force it applies, and PreRender decides whether to draw it turned, all through separate model index checks a clone never matched.
@FileEX FileEX added the bugfix Solution to a bug of any kind label Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Solution to a bug of any kind

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants