1 fichier aimé
776 commentaires
22 vidéos
5 uploads
23 followers
7 967 téléchargements
@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.
@gtavjamal btw, the TV in the script (and in the video) is a vanilla one called prop_tv_test
@gtavjamal There are a few mod TVs here as well. I haven't looked at tablets yet, to see if they could support TV. For a car you would ideally need something smaller like a tablet. Again, you can also use props like this one although I haven't tried it
https://www.gta5-mods.com/misc/new-old-tv-for-trevor-s-trailer
@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.
@PwnageSoldier glad to help
@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 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.
@a012345 At time of writing this, the last update was 16 hours ago. If the TV does not turn, by default with the E key, here are some possible reasons:
1. Your player is not close enough to the TV
2. You have a conflict with the E key
3. Your key is not set to E in the ini file which looks like this:
[Settings]
Menukey = End
PowerOnKey = E
SwitchChannel = Q
@a012345 I would love to, but apparently it isn't possible in SP. It is however, done in FiveM.
When we wrote "Anywhere" we meant anywhere. Watch the latest video to see this script used in a ship.