Skip to content

Conversation

Lamaaar
Copy link
Contributor

@Lamaaar Lamaaar commented Aug 12, 2025

boolean engineRestreamModel( int modelId ) - re-stream a specific model using its ID

boolean engineRestream( [ string restreamOption = "world" ] ) - re-stream a specific group of models (can be: "world", "vehicles", "peds", "objects")

These functions can be used instead of engineRestreamWorld (thus improving stability) if you only need to re-stream a specific (group of) model(s).

For example, instead of using engineRestreamWorld after using engineImageLinkDFF you can use engineRestreamModel to re-stream that single replaced model or engineRestream("vehicles") if you have used engineImageLinkDFF in bulk.

engineRestreamModel - re-stream a specific model using it's ID

engineRestream - re-stream a specific group of models (world, vehicles, peds, objects)
Copy link
Member

@Nico8340 Nico8340 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job

tederis
tederis previously approved these changes Aug 13, 2025
Copy link
Member

@tederis tederis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@Meine1
Copy link

Meine1 commented Aug 23, 2025

lgtm

@FileEX FileEX added the enhancement New feature or request label Aug 24, 2025
@tederis tederis merged commit eb76ac6 into multitheftauto:master Sep 24, 2025
MTABot pushed a commit that referenced this pull request Sep 24, 2025
eb76ac6 Add functionality to re-stream models separately (#4357)
@botder botder added this to the 1.7.1 milestone Sep 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants