Weird color bug?
#1

How come, when ever my car gets respawned, it changes color. Also, if I enter an interior and then exit, the car changes color again.

My car colors are saved in the userfile, and they load/save properly, but cars keep changing the color when they stream in/respawn.

Is this a SAMP bug or my fault?
Reply
#2

So, you save it and load it through your server? Does the createobject have the color parameters set to -1?

Not sure, but if it is set to -1, it will always change (if not incorrect). So you should set it to the color instead of coloring it afterwards. Not sure if this is the problem.

Plus, I haven't done anything with vehicles in a while, I have no idea what's wrong, just some questions.
Reply
#3

Thanks, it worked. I set it to respray later, so that was the problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)