Log in to reply
 

Help Calling TV Channel via button press using Function.Call(Hash.DRAW_TV_CHANNEL)



  • I found this explanation after doing some digging, but I don't understand how to properly implement it.
    It tells me what to do, but not how to go about it. (Its supposed to allow you to press a button and call a tv channel)
    Hopefully someone can explain to me how to use it. Thanks in advance!

            Put this in a key bind (bind the key)
            int Channel = Function.Call<int>(Hash.GET_HASH_KEY, "movie_arthouse");
            Function.Call((Hash)0x0AD973CA1E077B60, Channel);
            Function.Call(Hash.SET_TV_CHANNEL, 1);
            Function.Call(Hash.SET_TV_VOLUME, 10f);
            UI.ShowSubtitle("DRAW_TV_CHANNEL");
    

    Then click the button which u binded.
    Then Loop DRAW_TV_CHANNEL.

        Function.Call(Hash.DRAW_TV_CHANNEL, 1f, 1f, 1.0f, 1.0f, 0.0f, 255, 255, 255, 255);

Log in to reply
 

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