This is an example of changing the color of static models in the game. The color change is moved to a separate function (paintModel). The source also contains an example of using this function - all static models that the player comes into contact with are painted over in red.
Это пример изменения цвета статических моделей в игре.
Изменение цвета вынесено в отдельную функцию (paintModel). Исходник также содержит пример использования данной функции - все статические модели, с которыми соприкасается игрок, закрашиваются в красный цвет.