1,129
46
1,129
46
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
최초 업로드: 2025년 01월 24일 (금)
마지막 업로드: 5일 전
마지막 다운로드: 2분 전
댓글 112
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
최초 업로드: 2025년 01월 24일 (금)
마지막 업로드: 5일 전
마지막 다운로드: 2분 전
Posted a new video showing further evolution of working with TVs and render targets in Los Santos and San Andreas in general. Will also be testing a new target which might allow using laptops as TVs. Stay Tuned
@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
@JohnFromGWN :D
on other fun: I just spent over an hour figuring out why I got SHDVN errors and my game locking up
so retraced steps and it led me to v3.0, it's overflowing the fwScriptPool apparently?
and then quickly afterwards scripts related to vehicles/models start throwing errors too and it locks up
ingame screen https://i.imgur.com/UUWcUdk.jpeg
SHVDN log https://justpaste.it/ibgvz
Hopefully SHAPETEST::RELEASE_SCRIPT_GUID_FROM_ENTITY(ENTITY_INDEX EntityIndex) can fix that?
@ReNNie I'm on SHVDN 3.6, reverted to 2372. Also 2372 version of SH5 (screw backwards compatible). All other files (except modes update.rpf) are updated with Steam, latest version. Never any issues. Now have to play offline and re-authenticate every x days. Maybe @kagikn can shed some light on issue on his discussion section?
@ReNNie P.S. I have this ontick to remove all notifications including warnings from SHVDN. I can still see issues in the console but at least i don't have garbage popping up when there is a null reference.
Function.Call(Hash.THEFEED_HIDE_THIS_FRAME);
@ReNNie Good news..well sort of...may have a way to id the render target. Watch the new video, I was able to project images on a valid TV prop.
@JohnFromGWN it's not so much null reference etc, on nightly the pool is overflowing leading to a full lockup where rebooting PC is the only solution, going back to 3.6.0 isn't really an option as others require nightly :/
@ReNNie Honestly I would question the need for SHVDN updates. It's just a wrapper. The GTA V native functions do change but let's face it, the game is old and R* haven't made many changes for SP. So, when creators say use the latest build is it really necessary?
@JohnFromGWN
"when creators say use the latest build is it really necessary?"
when said creators are calling upon newly found / interpreted natives, then yes
currrently I use several scripts that require SHDVN nightly and in turn that caused some older ones to stop working properly like JitNaught's Last Location
but we seem to lose focus here, the issue is not with SHVDN nightly.17
the issue is the script filling up a memory pool and not releasing entities
SHAPETEST::RELEASE_SCRIPT_GUID_FROM_ENTITY(ENTITY_INDEX EntityIndex) can perhaps fix that?
Is it possible to make cef tv? (watch youtube, twitch, reddit etc...)
@MaRkEE763 This has been asked several times and sadly the answer is no, not from the SP community's knowledge. You can watch streamed TV (youtube) with FiveM.
@ReNNie I understand. With respect to last locations and similar scripts from the veterans like JediJosh etc, their scripts don't work, not because of new functions - just renamed functions. I don't put any blame on SHVDN, but it definitely isn't backwards compatible. Jitnaught's last location script source is available and the culprit is one function:
Function.Call(Hash._RENDER_FIRST_PERSON_CAM, true, 0, 3, 0);
That's why it broke. If you decompile Hot Coffee, that's similar issues. Not new functions, just changes in name. Again, if SHVDN had left the deprecated ones in, assuming it was possible, scripts would last forever.
@ReNNie. I'll also share another variable here, one that I kinda ignored or didn't believe for years.Aside from the last forced update garbage from R*, my game has been frozen at 2372 for years. Frozen means nothing has changed in my mod folder except my own customizations. So here's the fun part. A few days ago, after a year or longer, i loaded Nurburgring-Nordschleife and it crashed my game immediately. Ok, that never happened before and my game is frozen. I had used this map dozens of times and it was very stable despite its size.
If anything, my game is in better shape because I now have 16gb of VRAM (RTX4080). So why would this (huge) racetrack map suddenly refuse to cooperate. Why now? I wasn't able to solve it until I saw IKT's comment about removing all the ambulances. I did and it fixed the issue.
Now when I said my game was frozen that wasn't entirely true because even before the forced updates, I would let my Steam game update. In other words, my vanilla game is 100% updated except for Mods and GTA5.exe.
Conclusion: something in the vanilla game, other than GTA5.exe, impacted the game. What? When? Don't know and honestly don't have the time or patience to investigate although I think i have complete backups of 2372 from 2023. All that to say the variables are increasing but thankfully that's the only issue i've had that i couldn't explain (or easily fix) since reverting. There might be another reason, but i did systematically remove all mods and scripts and it still crashed before the ambulance fix.
@JohnFromGWN That is not why it broke. It broke because you are using one of the various "Get____Handles" functions (Entities, Vehicles, Props, Objects, Peds). Those functions assign the returned entities a handle, but there is no automatic functionality to release it. The entity will continue to have this handle until it no longer exists. The number of handles is finite, so in certain situations those handles can be completely used up causing the crash ReNNie is reporting to you. In order to prevent this you must free this handle yourself on entities you don't need to work with. When you iterate through the array of entities the aforementioned function returns to you, run SHAPETEST::RELEASE_SCRIPT_GUID_FROM_ENTITY(Entity ent) on every entity you don't need to work with so that its handle is freed and therefore no longer in the fwScriptGuid pool.
@InfamousSabre Thanks for the feedback. Did the game crash for you? Can you give the step by step do reproduce this error because I can't get this error message. During testing, I often had 50 or 60 TVs spawned and my game never crashed. Has anyone else reported this issue? Anyway I'll look into it. I guess my problem is my game is rock stable even though i have thousands of mods.
@InfamousSabre And just in passing, this script does not identify props. It doesn't care what a prop is and doesn't return any information on the prop. All it does is allow the TV to be turned on if it is a valid tv. It uses render target functions.
@InfamousSabre I went back and reviewed my code and it doesn't have references you mentioned. Do you just make stuff up?
@JohnFromGWN if you want to create a pdb I'm more than happy to let it log the issue on my end? where my entire V locks up to the point I can only CTRL ALT DEL and restart PC ::)
I'm unsure why you are being hostile here, no harm intended?
Maybe you can replicate the issue by using demidius' BarrierFix that logs entities, parking lot booth poles, to open and maybe also his Posts of Steel. Been using these for years but maybe the three combined is too much??
I'll test that when I get time on my end.
Hmm unpublished even tho reported working late 2024
https://www.gta5-mods.com/scripts/barrier-fix