Hey i dont see this anywhere and it has been requested by many so anyone would like to make a script out of this?
https://www.gta5-mods.com/scripts/no-flying-music
The owner have posted the source code in the comments so pretty much gave authorization to use it
I am no developer but ill help in what i can
very simple. just over 10 lines of code:
public class ScriptMain : Script
{
public ScriptMain()
{
Function.Call(Hash.SET_AUDIO_FLAG, “DisableFlightMusic”, true);
}
protected override void Dispose(bool A_0)
{
Function.Call(Hash.SET_AUDIO_FLAG, “DisableFlightMusic”, false);
base.Dispose(A_0);
}
}
Would this be enough info to convert it to lua or c#? Appreciate