Jump to content

HELP Custom Car Names


Recommended Posts

That did work!

I got another problem

table.insert(content, {"   -  " ..(getElementData(source, "carname[model]") or getVehicleNameFromModel( getElementModel( source ) ))} ) 

I've tried some options neither did they work. I actually want the custom carname to show instead of the mta model

Aren't you just trying to take out the value from the table? No point of getElementData.

I'm pretty sure this'll work:

table.insert(content,{ "  -  " ..(carname[getElementModel(source)] or getVehicleNameFromModel(getElementModel(source)))}) 

But what exactly are you trying to do by putting the custom name into a table?

Link to comment

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...