Scaleform related native not working on C#

I couldn’t type the native in the title without “too long word” error, anyway:
the Native GetScaleformMovieCursorSelection returns 0/weird values in C#, tested in Lua it works fine:

  • Tested with Lua here: Paste ofCode returns every value correctly.
  • Tested on C#:
    • Paste ofCode returns always false and 0 in its parameters.
    • i tried testing it with Function.Call Paste ofCode and the result was the one shown in the video attached below.

Also its description and parameters count is wrong in the natives reference. I already made a pull request on GitHub for that here: Updated _GET_SCALEFORM_MOVIE_CURSOR_SELECTION. by manups4e · Pull Request #758 · citizenfx/natives · GitHub

1 Like

FIXED:
Turned out that ActionScript needed some advanced eventListener in order for MOUSE_EVENT to work and trigger the native functionality… also to use this native you MUST have controls 239, 240, 237, 238 enabled otherwise it won’t work.

The Native description in the Docs is still wrong i reccomend a merge on the pull request that I’ve added.