Skip to content

GetModVersion

Note

This native function only exists in the RSDKv4 decompilation's mod loader. You can check if the function is usable by using the USE_MOD_LOADER platform flag.

Description

Adds a text entry to menu with a mod's version as the text.

Parameters

menu

The menu to add the text to. MENU_1 or MENU_2 are valid.

highlightEntry

Determines if the text will always be highlighted.

id

The ID of the mod to get the version of.

unused

Unused variable.

Return Value

None.

Syntax

CallNativeFunction4(GetModVersion, int menu, int highlightEntry, int id, int unused)

Example

CallNativeFunction4(GetModVersion, MENU_1, false, 0, 0)