feat(gta-streaming-five): Background minimap overlays
Goal of this PR
Allow the creation of background overlays with AddMinimapOverlay and AddMinimapOverlayWithDepth.
This will allow to create overlay behind the GPS or Radius Blip, as well as automatic transparency on minimap
minimap.zip Here is a test ressource to help you validate this change
...
How is this PR achieving the goal
By adding a new argument to the natives ...
This PR applies to the following area(s)
FiveM ...
Successfully tested on
Game builds: 1604, 3095, 3407
Platforms: Windows
Checklist
- [x] Code compiles and has been tested successfully.
- [x] Code explains itself well and/or is documented.
- [x] My commit message explains what the changes do and what they are for.
- [x] No extra compilation warnings are added by these changes.
Adding a new argument can cause existing scripts to stop working or I'm wrong?
The default (false) will create a foreground overlay like it was before
But for example C# forces you to send all the arguments to invoke natives, it don't have default values
Ho ok let me check that then, didn't know about that :)
Thanks, I splitted the definition for C# compatibility
Everything is ready and tested Let me know if you need more information or changes :)
Is there a chance this could be merged? I think it would be really useful 🙂 Thank you !
minimap.zip Here is a test ressource to help you validate this change
Can this get merged ? @prikolium-cfx