Jump to content

Car names


Greenie0101

Recommended Posts

Posted

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%

Posted

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)

Posted

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)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...