Log in to reply
 

ScriptHookV can't see NativeUI



  • Hey,
    Im new in ScriptHookV and NativeUI.
    Im trying to add Menu to my GTAV and i add using NativeUI to top of my code but when i add my script to "scripts" folder (where i have NativeUI.dll too) then when i start GTAV in ScriptHookV console i have error that ScriptHookV can't find NativeUI...alt text
    I add NativeUI.dll to references in Visual Studio
    In GTAV folder i have:
    NativeUI.dll
    ScriptHookV.dll
    ScriptHookVDotNet2.dll
    ScriptHookVDotNet3.dll

    In "scripts" folder i have
    myscript.cs
    NativeUI.dll

    My code:
    https://pastebin.com/Mr9FzShB (I delete some code (no important))



  • pretty sure you need to add ScriptHookVDotNet.asi to your game folder as well. hope it helps.



  • To use NativeUI you must compile your mod. Raw .cs files don't have access to NativeUI.


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.