Looking at the code, it seems global.player_info
hasn't been set yet for the player. I think changing line 44 of libraries/functions/cars.lua from
script.raise_event(mod_get_event("car_paint_player").id, {player = current_player, player_saved_color = global.player_info[event.player_index].color, entity = event.entity})
to
script.raise_event(mod_get_event("car_paint_player").id, {player = current_player, player_saved_color = global.player_info[event.player_index] and global.player_info[event.player_index].color or nil, entity = event.entity})
would fix that. Just unzip the mod and edit the file, then restart the game. Unpacked mods take precedence over zipped mods, so your changed version will be used until the mod is updated.