Im having issues with the MISSION_COMPLETE scaleform and DRAW_MENU_LIST.
List elements overflow at the bottom and I have no clue what to do due to lacking docs.
Take a look at the last element which is cutoff/overflown.

Script (not the same as in the image):
local scaleform = RequestScaleformMovie("MISSION_COMPLETE")
while not HasScaleformMovieLoaded(extrasScaleform) do Citizen.Wait(0) end
PushScaleformMovieFunction(scaleform, "SET_MISSION_TITLE")
PushScaleformMovieFunctionParameterString("")
PushScaleformMovieFunctionParameterString("Some title")
PopScaleformMovieFunctionVoid()
for i = 1, 12 do
PushScaleformMovieFunction(scaleform, "SET_DATA_SLOT")
PushScaleformMovieFunctionParameterInt(i - 1)
PushScaleformMovieFunctionParameterInt(0)
PushScaleformMovieFunctionParameterString(string.format("ELEM %s", i))
PopScaleformMovieFunctionVoid()
end
PushScaleformMovieFunction(scaleform, "DRAW_MENU_LIST")
PopScaleformMovieFunctionVoid()
I was wondering if clampText(textF, labelS, maxVal) (found here) would solve this but I have no clue what parameters are necessary to make this work if this even helps.
It would be greatly appreciated if someone could help me out with this ![]()