1.012
44
1.012
44
Yes, you can absolutely watch TV in any Vehicle - Just Drive Safely
This script will play any valid game or addon TV, whether in the game or spawned by a trainer. It works by prop detection rather than the simplistic and limited approach of hardcoding the coordinates of the target TV. You can move the TV anywhere using the Mafins Menyoo Trainer (I recommend the original version).
This functionality and more can be found in this script as well:
https://www.gta5-mods.com/scripts/ultimate-gta-v-tourist
Change log Version 3 - Minor Update
As requested, the script is enabled by default. L to disable/enable.
Also, the change channels is now Q.
To disable script by default, use the ini file and set DetectOn to false
[Settings]
ToggleKey=L
DetectOn=true
With respect to the request to have notifications on, this is harder than it looks. Most scripters have the detection based on the location of the TV. This limits the value of the script. One option is to create a list of TV props but I'm trying to find a better way using keywords or render target ids.
Change log Version 2 - Major Update
All hard coding has been eliminated except for the channels.
The way the script works now is that if the script detects a compatible TV near the player, that TV prop will respond to the E key (on/off) and the Q key (remote: switch channels).
However currently the only props recognized will have those with tvscreen as the target.
Examples of valid TVs are:
prop_tv_flat_01, prop_tv_flat_02, prop_tv_flat_03
prop_tv_flat_michael
vw_prop_vw_cinema_tv_01
Note: it doesn't matter if the TV is ambient or spawned with a trainer or script, it will respond if the criteria is met: i.e. valid (tvscreen) and within player distance.
Description
Whether you’re chilling at your Vinewood Hills mansion or taking a break at the beach or even driving any vehicle, this script brings the TV entertainment right to your fingertips. That’s right, you can place the TV indoors and outdoors or even attach it to a vehicle. This script, unlike all other TV scripts, is relative to the player, not absolute like a mansion or cinema. Also: this incredibly flexible script is fully immersive by removing the on-screen controls, so you can simply sit back and enjoy.
Installation: the dll and the ini file go in your Scripts folder. Requirements: the usual SHV and SHVDN
Controls: The default key is L to enable or disable. Can be changed in the ini file.
The script detects all valid TVs.
Placement: you can easily move the TV using Menyoo, Object Spooner, Manual Placement. Watch the video.
IMPORTANT
This first release will only support props where the target is tvscreen. How would you know that? You go into Open 4, look at the TV prop’s ydr, you look at the embedded textures, and you might see a texture like this: script_rt_tvscreen.dds. If you drop the prefix, you get tvscreen. Not tv_screen or something else
This script will play any valid game or addon TV, whether in the game or spawned by a trainer. It works by prop detection rather than the simplistic and limited approach of hardcoding the coordinates of the target TV. You can move the TV anywhere using the Mafins Menyoo Trainer (I recommend the original version).
This functionality and more can be found in this script as well:
https://www.gta5-mods.com/scripts/ultimate-gta-v-tourist
Change log Version 3 - Minor Update
As requested, the script is enabled by default. L to disable/enable.
Also, the change channels is now Q.
To disable script by default, use the ini file and set DetectOn to false
[Settings]
ToggleKey=L
DetectOn=true
With respect to the request to have notifications on, this is harder than it looks. Most scripters have the detection based on the location of the TV. This limits the value of the script. One option is to create a list of TV props but I'm trying to find a better way using keywords or render target ids.
Change log Version 2 - Major Update
All hard coding has been eliminated except for the channels.
The way the script works now is that if the script detects a compatible TV near the player, that TV prop will respond to the E key (on/off) and the Q key (remote: switch channels).
However currently the only props recognized will have those with tvscreen as the target.
Examples of valid TVs are:
prop_tv_flat_01, prop_tv_flat_02, prop_tv_flat_03
prop_tv_flat_michael
vw_prop_vw_cinema_tv_01
Note: it doesn't matter if the TV is ambient or spawned with a trainer or script, it will respond if the criteria is met: i.e. valid (tvscreen) and within player distance.
Description
Whether you’re chilling at your Vinewood Hills mansion or taking a break at the beach or even driving any vehicle, this script brings the TV entertainment right to your fingertips. That’s right, you can place the TV indoors and outdoors or even attach it to a vehicle. This script, unlike all other TV scripts, is relative to the player, not absolute like a mansion or cinema. Also: this incredibly flexible script is fully immersive by removing the on-screen controls, so you can simply sit back and enjoy.
Installation: the dll and the ini file go in your Scripts folder. Requirements: the usual SHV and SHVDN
Controls: The default key is L to enable or disable. Can be changed in the ini file.
The script detects all valid TVs.
Placement: you can easily move the TV using Menyoo, Object Spooner, Manual Placement. Watch the video.
IMPORTANT
This first release will only support props where the target is tvscreen. How would you know that? You go into Open 4, look at the TV prop’s ydr, you look at the embedded textures, and you might see a texture like this: script_rt_tvscreen.dds. If you drop the prefix, you get tvscreen. Not tv_screen or something else
Primul incarcat: 24 Ianuarie 2025
Ultimul incarcat: in urma cu 3 zile
Last Downloaded: in urma cu 13 minute
95 Comentarii
More mods by JohnFromGWN:
Yes, you can absolutely watch TV in any Vehicle - Just Drive Safely
This script will play any valid game or addon TV, whether in the game or spawned by a trainer. It works by prop detection rather than the simplistic and limited approach of hardcoding the coordinates of the target TV. You can move the TV anywhere using the Mafins Menyoo Trainer (I recommend the original version).
This functionality and more can be found in this script as well:
https://www.gta5-mods.com/scripts/ultimate-gta-v-tourist
Change log Version 3 - Minor Update
As requested, the script is enabled by default. L to disable/enable.
Also, the change channels is now Q.
To disable script by default, use the ini file and set DetectOn to false
[Settings]
ToggleKey=L
DetectOn=true
With respect to the request to have notifications on, this is harder than it looks. Most scripters have the detection based on the location of the TV. This limits the value of the script. One option is to create a list of TV props but I'm trying to find a better way using keywords or render target ids.
Change log Version 2 - Major Update
All hard coding has been eliminated except for the channels.
The way the script works now is that if the script detects a compatible TV near the player, that TV prop will respond to the E key (on/off) and the Q key (remote: switch channels).
However currently the only props recognized will have those with tvscreen as the target.
Examples of valid TVs are:
prop_tv_flat_01, prop_tv_flat_02, prop_tv_flat_03
prop_tv_flat_michael
vw_prop_vw_cinema_tv_01
Note: it doesn't matter if the TV is ambient or spawned with a trainer or script, it will respond if the criteria is met: i.e. valid (tvscreen) and within player distance.
Description
Whether you’re chilling at your Vinewood Hills mansion or taking a break at the beach or even driving any vehicle, this script brings the TV entertainment right to your fingertips. That’s right, you can place the TV indoors and outdoors or even attach it to a vehicle. This script, unlike all other TV scripts, is relative to the player, not absolute like a mansion or cinema. Also: this incredibly flexible script is fully immersive by removing the on-screen controls, so you can simply sit back and enjoy.
Installation: the dll and the ini file go in your Scripts folder. Requirements: the usual SHV and SHVDN
Controls: The default key is L to enable or disable. Can be changed in the ini file.
The script detects all valid TVs.
Placement: you can easily move the TV using Menyoo, Object Spooner, Manual Placement. Watch the video.
IMPORTANT
This first release will only support props where the target is tvscreen. How would you know that? You go into Open 4, look at the TV prop’s ydr, you look at the embedded textures, and you might see a texture like this: script_rt_tvscreen.dds. If you drop the prefix, you get tvscreen. Not tv_screen or something else
This script will play any valid game or addon TV, whether in the game or spawned by a trainer. It works by prop detection rather than the simplistic and limited approach of hardcoding the coordinates of the target TV. You can move the TV anywhere using the Mafins Menyoo Trainer (I recommend the original version).
This functionality and more can be found in this script as well:
https://www.gta5-mods.com/scripts/ultimate-gta-v-tourist
Change log Version 3 - Minor Update
As requested, the script is enabled by default. L to disable/enable.
Also, the change channels is now Q.
To disable script by default, use the ini file and set DetectOn to false
[Settings]
ToggleKey=L
DetectOn=true
With respect to the request to have notifications on, this is harder than it looks. Most scripters have the detection based on the location of the TV. This limits the value of the script. One option is to create a list of TV props but I'm trying to find a better way using keywords or render target ids.
Change log Version 2 - Major Update
All hard coding has been eliminated except for the channels.
The way the script works now is that if the script detects a compatible TV near the player, that TV prop will respond to the E key (on/off) and the Q key (remote: switch channels).
However currently the only props recognized will have those with tvscreen as the target.
Examples of valid TVs are:
prop_tv_flat_01, prop_tv_flat_02, prop_tv_flat_03
prop_tv_flat_michael
vw_prop_vw_cinema_tv_01
Note: it doesn't matter if the TV is ambient or spawned with a trainer or script, it will respond if the criteria is met: i.e. valid (tvscreen) and within player distance.
Description
Whether you’re chilling at your Vinewood Hills mansion or taking a break at the beach or even driving any vehicle, this script brings the TV entertainment right to your fingertips. That’s right, you can place the TV indoors and outdoors or even attach it to a vehicle. This script, unlike all other TV scripts, is relative to the player, not absolute like a mansion or cinema. Also: this incredibly flexible script is fully immersive by removing the on-screen controls, so you can simply sit back and enjoy.
Installation: the dll and the ini file go in your Scripts folder. Requirements: the usual SHV and SHVDN
Controls: The default key is L to enable or disable. Can be changed in the ini file.
The script detects all valid TVs.
Placement: you can easily move the TV using Menyoo, Object Spooner, Manual Placement. Watch the video.
IMPORTANT
This first release will only support props where the target is tvscreen. How would you know that? You go into Open 4, look at the TV prop’s ydr, you look at the embedded textures, and you might see a texture like this: script_rt_tvscreen.dds. If you drop the prefix, you get tvscreen. Not tv_screen or something else
Primul incarcat: 24 Ianuarie 2025
Ultimul incarcat: in urma cu 3 zile
Last Downloaded: in urma cu 13 minute
When we wrote "Anywhere" we meant anywhere. Watch the latest video to see this script used in a ship.
Is it possible to disable the spawn key? I would like to have this mod just to have the ability to turn on TVs in interiors or locations that spawn with TVs detectable with this script.
@PwnageSoldier Done. @ReNNie has suggested this but I was hoping to find a solution of have notifications, for those who desired it, and I haven't found a solution yet - other than doing this by prop list.
@JohnFromGWN Awesome. Thanks!
@JohnFromGWN yoo this release fixed my issue 👌
@elsanhoty That's great. Remember that i had made a mistake naming the ini file in the first version. You can name an ini file whatever you want if you specify the path but in this simple case it needs to have the same name as the .dll
@PwnageSoldier glad to help
@JohnFromGWN TV Immersive Script check :) v3.0 a-okay, thank you
@ReNNie I haven't forgot your request for notifications. The issue is to eliminate false alarms from non TV props. As discussed the simple solution is to create a list of valid props. The challenge is can this be done without a list.There are 2 options that come to mind. One is to return the prop name and parse it for keywords such as TV, Screen, Display, Cinema, or Movie. The issue here is that there isn't any guarantee a vanilla prop can play a TV show. Another option is to somehow determine if the prop has the proper render target. The epic fail option, although it might be the most realistic, is to hardcode the props are put them in a text file to be read by the code. This has its own challenges again, because there are hundreds of props that might be candidates, and most will fail.
hey bro, sorry im new to this. Does this work with fivem? i downloaded and put the files under a folder named TVScript and i ensured it. im not sure what else i should do ? please assist anyone ? :)
@BaadmanDeezy If only life were that easy. Unfortunately, no, that's not how it works and not that simple. Most FiveM scripts are lua but you will see some c# dll files. FiveM uses CitizenFX.Core. The quick answer is no, what you're doing will definitely not work. The methods to run SP scripts in FiveM will depend on whether you're using localgame or not. I'm not sure, I've done all my FiveM scripts with lua, actually one or two dlls.
@JohnFromGWN How did you get the tv in the ship? Did you place the tv prop in the boat?
@skeeze415 Yes, Spawn the TV with a trainer (or script) and then I used Menyoo to attach it to the boat and then from the attachment screen i adjusted the 6 coordinates.
@JohnFromGWN Nice, Thanks!!!
@JohnFromGWN thank you for taking your time to reply brother, okay i see now. i recently made another tv script work in game. Maybe we could chat and see how we can come up with something to incorporate both and find middle ground ?
Discord?
@JohnFromGWN
all you need is prop name to add iirc?
https://i.imgur.com/lDQet60.jpeg
https://i.imgur.com/mqIBe2E.jpeg
@ReNNie Yes and No. Let's do a quick summary:
1. This version (immersive). Approach a TV and if it is valid you can turn it on. No notification will be given. Nothing is hardcoded with respect to props/objects or distances or location. A valid TV must have a valid texture for the screen. This is a very accurate approach.
2. Adding notifications: Similar to above but will trigger false alarms when it encounters any prop including a chair, a table, etc. So notifications would be triggered constantly. The solution? The easy solution, the one I want to avoid, is to have a list of valid props. Why avoid it? Because there are hundreds of potential candidates and not all are valid TVs. Potential candidates means props with keywords such as: TV, cinema, movie, display, screen etc. A list can be found from Durty below.
3. Ideal solution for Item 2, with notification: Find a method to identify a valid TV without hardcoding and without a list. Conceptually this could be done in 2 ways, not sure if either is feasible.
- identify the prop and ensure it is valid and if so give notification (again challenge is to do without a list). This would be accomplished by parsing the prop name (converted from a hash/integer/hex id) looking for keywords like TV or movie
- identify if the prop has a valid texture/render target (called tvscreen).
I don't want to do anything half-assed, so this will be on back burner for now until time allows some R&D.
https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ObjectList.ini
Finally, with respect to your prop in the image. The current script will work with it, without hard coding its name, if the prop is a valid TV. If it is not a valid TV, you can try to rename the texture, usually embedded, so it has script_rt_tvscreen as a name. You can see some discussion around this in the thread with @JoyLucien who actually tested this.
@JohnFromGWN
thank you, hmm this TV prop does have script_rt_tvscreen as a texture embedded
checked in CW exported to XML https://i.imgur.com/WDl2nhp.jpeg
imma fiddle around
@ReNNie is this an SP mod converted from FiveM?
@JohnFromGWN yep, FiveM MLO to SP