TrapLord Studios™ Posted April 1, 2014 Share Posted April 1, 2014 How would I place real vehicle names?, I don't want the names to be DxDrawn, i want them to be permanently stored, and replace the old names. And would outputtoChatbox the name. Link to comment
Jaysds1 Posted April 1, 2014 Share Posted April 1, 2014 (edited) Well, of course you would need to create a script then make sure it starts when your server starts. And the only way to replace the vehicle names, is to override the MTA's "getVehicleName" function, then loop through a table and get the replaced name for the vehicle. Edited April 3, 2014 by Guest Link to comment
TrapLord Studios™ Posted April 1, 2014 Author Share Posted April 1, 2014 Ah, Thanks, I'm doing this for a RPG gamemode I'm working on, but that really answered my question! Link to comment
Jaysds1 Posted April 3, 2014 Share Posted April 3, 2014 Your welcome, always here to help! Link to comment
Spajk Posted April 3, 2014 Share Posted April 3, 2014 Uhm, that won't replace the vehicle name itself. Modifying the vehicle name in MTA ain't possible. Link to comment
Karuzo Posted April 3, 2014 Share Posted April 3, 2014 You should use the showPlayerHudComponent function to disable the green text with the vehicle name. Link to comment
Jaysds1 Posted April 4, 2014 Share Posted April 4, 2014 Uhm, that won't replace the vehicle name itself. Modifying the vehicle name in MTA ain't possible. I know, but that's why I told him to override the MTA function "getVehicleName", so when that function is called the function will loop through a table and get the replaced name for the vehicle. Link to comment
TrapLord Studios™ Posted April 4, 2014 Author Share Posted April 4, 2014 I created a function for it, that call's and returns, and it works fine., Just need to get some good vehicle names, or I'm deciding if to, let the player insert thier own vehicle name. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now