Fix Cement Truck drum not turning on custom vehicle models - #5166
Open
TheCrazy17 wants to merge 1 commit into
Open
Fix Cement Truck drum not turning on custom vehicle models#5166TheCrazy17 wants to merge 1 commit into
TheCrazy17 wants to merge 1 commit into
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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