Jump to content

Shortening setVehicleColor?


LonelyRoad

Recommended Posts

I am trying to find a way to shorten the args used by setVehicleColor, but I want to do it dynamically.

I actually in this case want to, if possible, mimic the behaviour of the < 1.0.5 setVehicleColor command.

The reason is I am currently asking for 6 args from an addCommandHandler() just to specify a vehicle's colour when its created, it makes it one heck of a long command.

I suppose one question is how many vehicles actually used two colours? Come to think of it I don't believe there is many..?

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