Log in to reply

[Script] Always display cars names while driving

  • Is it possible to make a script/mod or whatsoever, that can make the name of the car to always stay on screen while driving without fading away after a few seconds?
    I know maybe is a stupid script, but I searched all over the page for something like that but couldn't find anything...

    Thanks! And sorry for my bad english :D

  • @fcc-92 yes very possible, it's a simple HUD element I believe.

  • @fcc-92 Try this https://drive.google.com/file/d/0B7LFvItVrwd0Q3dQalhSc0ZPZkE/view?usp=sharing

    It is a ScriptHookDotNet mod, so you will need to install ScriptHookVDotNet if you don't have it installed already.

    I have left it as a .cs file, so you can see exactly what it is doing and change values if you want to do so. Just put that file into your scripts folder.

    If you have any questions, ask away.

  • @stillhere Damn, I never think of doing it that way... I created a text element in the top left corner. You can't get the proper vehicle details just be reading the vehicle name though. :(

    I'll see if I can find that way of doing it... unless you already know. :slight_smile:

  • @fcc-92 I've changed that script to work the way @stillhere suggested, much simpler than the way I was using. :blush:

    If you have already downloaded the file from that link, I have updated it so it will get the new version.

    The only issue I have, is that it doesn't display properly unless I Alt+Tab out and back in again, but that could be a conflict with my mod or something... it might work fine for you.

    If you don't trust that download link, then create a new text document called DisplayVehicleName.cs and paste this text into it. Then just copy that file into your scripts folder.

    using System;
    using GTA;
    namespace DisplayVehicleName
        public class cDisplayVehicleName : Script
            public cDisplayVehicleName()
                this.Tick += onTick;
                Interval = 0;
            private void onTick(object sender, EventArgs e)
                // Check to see if the player is sat in a vehicle
                if (Game.Player.Character.IsSittingInVehicle())

  • @LeeC2202 haha, oh man. I did think of a custom text but then I thought "he probably just wants the name to stay on screen" :stuck_out_tongue:

  • @stillhere If there's an easy way and a hard way, I'm guaranteed to take the hard way... I wish it was the other way round. :D

Log in to reply

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