multitheftauto / mtasa-resources

This project maintains a list of up-to-date resources that come with Multi Theft Auto.
https://multitheftauto.com
MIT License
150 stars 146 forks source link

playerblips: Improved debug messages #481

Closed T-MaxWiese-T closed 1 month ago

T-MaxWiese-T commented 2 months ago

Is your feature request related to a problem? Please describe. I have thought about making the playerblips resource a bit smarter. Now the debug message is misleading as you could see in my case. It gives the impression that" playercolors" resource is mandatory, which is not the case. Currently it is always suggested except if "use_team_colors" is "true", although you may have your own name tag colors. There is also no hint if the "playercolors" resource is not installed. If "use_team_colors" and "use_nametag_colors" are "false", no hint is displayed.

Describe the solution you'd like The debug messages should be more understandable. If a player is using the default name tag color, then it should be suggested to enable the "playercolors" resource if you want to have random colors. The "playercolors" resource should only be recommended if it makes sense. For cosistency, the default blip color should have the default nametag color. You should add a hint if the "playercolors" resource is not installed. If "use_team_colors" and "use_nametag_colors" is "false", a message should be displayed that the default blip color is used.

Describe alternatives you've considered None

Additional context None