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?) New CMG 2.0 Screenshot! http://img560.imageshack.us/img560/4269/cmg2screen.png CMG 2.0 Trailer! Learn to script from simple video tutorials completely free! Click here for forum page Was the scripter for CMG server! Leaving CMG: 100%
CheiN Posted August 12, 2012 Posted August 12, 2012 is not posible IMPOSIBRU!!! My scripts: toptimes on scoreboard (server21) Screen on login(scren) Score on scoreboard (score)
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. "First they ignore you, then they laugh at you, then they fight you, then you win." - Mahatma Gandhi (1869-1948)
Castillo Posted August 12, 2012 Posted August 12, 2012 You can use this resource: https://community.multitheftauto.com/ind ... ils&id=488 San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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. "First they ignore you, then they laugh at you, then they fight you, then you win." - Mahatma Gandhi (1869-1948)
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