TrapLord Studios™ Posted April 1, 2014 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. Visit TrapLord Studios™
Jaysds1 Posted April 1, 2014 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 My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
TrapLord Studios™ Posted April 1, 2014 Author Posted April 1, 2014 Ah, Thanks, I'm doing this for a RPG gamemode I'm working on, but that really answered my question! Visit TrapLord Studios™
Jaysds1 Posted April 3, 2014 Posted April 3, 2014 Your welcome, always here to help! My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
Spajk Posted April 3, 2014 Posted April 3, 2014 Uhm, that won't replace the vehicle name itself. Modifying the vehicle name in MTA ain't possible.
Karuzo Posted April 3, 2014 Posted April 3, 2014 You should use the showPlayerHudComponent function to disable the green text with the vehicle name.
Jaysds1 Posted April 4, 2014 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. My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
TrapLord Studios™ Posted April 4, 2014 Author 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. Visit TrapLord Studios™
Jaysds1 Posted April 4, 2014 Posted April 4, 2014 Nice to hear that it work My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
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