Vehicles respawning with black color
#1

Some of my vehicle that I respawn ingame change color to black.

I made test script that checks color of each vehicle and prints it in log, and I got this:

PHP Code:
[16:18:26vehicleidc1c2452525
[16:18:26vehicleidc1c2462525
[16:18:26vehicleidc1c2472525
[16:18:26vehicleidc1c2482525
[16:18:26vehicleidc1c2492525
[16:18:26vehicleidc1c2502525
[16:18:26vehicleidc1c2512525
[16:18:26vehicleidc1c2522525
[16:18:26vehicleidc1c2532525
[16:18:26vehicleidc1c2542525
[16:18:26vehicleidc1c2338475
[16:18:26vehicleidc1c2339475
[16:18:26vehicleidc1c2340475
[16:18:26vehicleidc1c2341475
[16:18:26vehicleidc1c2342475
[16:18:26vehicleidc1c2343475
[16:18:26vehicleidc1c2344475
[16:18:26vehicleidc1c2345475
[16:18:26vehicleidc1c25561, -1
[16:18:26vehicleidc1c25571, -
The colors are same as they should be but all vehicles are black...
Reply
#2

maybe you got a ChangeVehicleColors somewhere?
Reply
#3

If the vehicle is black there may be an error with COLOR IDs somewhere in your script, like RogueDrifter said maybe somewhere you got overlapping code
Reply
#4

if you're seeing it as a black vehicle and script reads it as an normal colored vehicle, than its client sided problem, probably caused by modding.
Reply
#5

Quote:
Originally Posted by Mugalito
View Post
if you're seeing it as a black vehicle and script reads it as an normal colored vehicle, than its client sided problem, probably caused by modding.
nothing is modded, client log reads correct color of vehicle but i'm seeing all vehicles in black color

btw. im recoloring when it spawns so again its black color..
Reply
#6

are you sure u're not using ChangeVehicleColor in other scripts?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)