-- LUA SetMinimapComponentPosition
0x3E882B23
-- SET_MINIMAP_COMPONENT_POSITION
SetMinimapComponentPosition(
name --[[ string ]],
alignX --[[ string ]],
alignY --[[ string ]],
posX --[[ number ]],
posY --[[ number ]],
sizeX --[[ number ]],
sizeY --[[ number ]]
)
Parameters:
name:
The name of the minimap component to override.
alignX:
Equivalent to the alignX field in frontend.xml.
alignY:
Equivalent to the alignY field in frontend.xml.
posX:
Equivalent to the posX field in frontend.xml.
posY:
Equivalent to the posY field in frontend.xml.
sizeX:
Equivalent to the sizeX field in frontend.xml.
sizeY:
Equivalent to the sizeY field in frontend.xml.
Overrides the minimap component data (from common:/data/ui/frontend.xml) for a specified component.
Parameters:
header:
sentence.
header:
sentence.
header:
sentence.
Returns:
sentence.
Summary
sentence.
Example
---
Additional natives used in this example, or natives commonly used with this native.
NATIVE, NATIVE
Common Errors or Problems
Problem: sentence.
Problem: sentence.
Problem: sentence.
Credits and Disclaimers
The base of this data was taken from the redm/cfx fivem/rdr docs, and vespura. We have been saving and making notes for two years now, and are now adding them to our site for everyone to use. We will be modifying the notes as needed, and building tutorials around the data so these pages will change as we work on it. This is a manual process, not an automated one, so updates will occur as we have time, the priority is releasing resources. Thanks for your patience.