Skip to content

Conversation

Fernando-A-Rocha
Copy link
Contributor

@Fernando-A-Rocha
Copy link
Contributor Author

Sets draw_last model flag to model ID 3089 so its glass transparency works correctly and you can see through it.

BEFORE:

image

AFTER:

image

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!

@Fernando-A-Rocha
Copy link
Contributor Author

This is a draft because I used engineRestreamWorld() to reload the model but this is overkill, and it also affects the player by making it get stuck and move on the ground when spawning if done at the same time as map fixes loads (happens when you join freeroam).

Me and @FileEX are gonna find a solution

@YSAFE
Copy link

YSAFE commented Jul 16, 2025

Hi. Are you really sure that you need to use engineRestreamWorld() to restore transparent objects?

@ArranTuna
Copy link
Contributor

Is this still a draft because you haven't done all the objects? No need for you to do all the objects for this to be merged. Merging it means that people can add models to the list if they are affected by it, without having to implement the code themselves.

@Fernando-A-Rocha
Copy link
Contributor Author

Is this still a draft because you haven't done all the objects? No need for you to do all the objects for this to be merged. Merging it means that people can add models to the list if they are affected by it, without having to implement the code themselves.

I need an alternative for not having to do engineRestreamWorld to reload the models

@Fernando-A-Rocha
Copy link
Contributor Author

because of the model flags

@Fernando-A-Rocha
Copy link
Contributor Author

Maybe this can be used to re-stream the model after changing its model flags
multitheftauto/mtasa-blue#4357 instead of re-stream world

@Fernando-A-Rocha
Copy link
Contributor Author

Fernando-A-Rocha commented Sep 24, 2025

Technically, with that new feature, I think we could call engineRestreamModel(model_id) after engineSetModelFlag(model_id, flag_name, state).

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.

4 participants