Greenie0101 Posted August 12, 2012 Posted August 12, 2012 Hi there, i have added custom cars to my gamemode and i want to make a script that changes that cars name to the name of the mod (i've modded a BMW M3 to my hotring, how can i make the text say 'BMW M3' instead of Hotring when i enter it?)
Dev Posted August 12, 2012 Posted August 12, 2012 You cannot actually change the vehicle's name, but you can set an element data which will store the vehicle's modified name, and when someone gets in the vehicle, you can use outputChatBox to tell them the new name.
Castillo Posted August 12, 2012 Posted August 12, 2012 You can use this resource: https://community.multitheftauto.com/ind ... ils&id=488
Dev Posted August 12, 2012 Posted August 12, 2012 Ah nice, you can also use dxDrawText instead of outputChatBox to show the vehicle name on player's screen.
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