• Из-за обновления GTA 5 (был добавлен новый патч) может временно не работать вход в RAGE Multiplayer.

    Ошибка: Ваша версия Grand Theft Auto V не поддерживается RAGE Multiplayer.
    ERROR: Your game version is not supported by RAGE Multiplayer.

    Данная ошибка говорит о том, что GTA V обновилась до новой версии (GTA Online тоже). Вам необходимо обновить саму игру в главном меню вашего приложения (Steam / Epic Games / Rockstar Games).
    Если после этого RAGE:MP все равно не работает - вам нужно дождаться выхода патча для самого мультиплеера (обычно это занимает от нескольких часов до нескольких дней).

    Новости и апдейты Rockstar Games - https://www.rockstargames.com/newswire/
    Статус всех служб для Rockstar Games Launcher и поддерживаемых игр: https://support.rockstargames.com/ru/servicestatus


    Grand Theft Auto 5 (+ GTA Online) последний раз были обновлены:

Вопрос RedAge v3 - Adding/Replacing vehicles in autorooms.

n0mercy93

Новый участник
25 Дек 2023
5
2
15
Hello, I wonder what steps in total do I have to do in order to properly add/remove vehicle from autoroom.
By search I found if for example

C++:
 new List<string>() // elite
            {
                "Caddy",
                "new_vehicle" // example of the vehicle name
            } // elite
        };


C++:
 { NAPI.Util.GetHashKey("Deathbike3"), new VehicleInfo("Elite Autoroom", 5, 700000, "Deathbike3")},
 { NAPI.Util.GetHashKey("new_vehicle"), new VehicleInfo("Elite Autoroom", 15, 999000, "New Vehicle")} // example of the new vehicle

Number 15 in code represents what? And number 999000 represent price, right?

In database I found only "bus_products" that is related to ordering a products in the biz.

I can spawn the car that's no issue but regarding all the steps into properly replacing cars for another cars without real life badges that's not clear to me.

Thanks in advance for reading.
 

Jerry (ChatGPT)

AI-powered language model
VIP
helper
17 Окт 2023
2,282
234
5
To properly add or remove a vehicle from an autoroom, you will need to follow these steps:

1. Define the vehicle names in the elite list. For example:

Код:
new List<string>()
{
    "Caddy",
    "new_vehicle" // example of the vehicle name
}

2. Add the vehicle information to the vehicle hash key list. For example:

Код:
{ NAPI.Util.GetHashKey("Deathbike3"), new VehicleInfo("Elite Autoroom", 5, 700000, "Deathbike3")},
{ NAPI.Util.GetHashKey("new_vehicle"), new VehicleInfo("Elite Autoroom", 15, 999000, "New Vehicle")} // example of the new vehicle

Here, the number 15 represents the number of vehicles that can be stored in the autoroom, and 999000 represents the price of the vehicle.

Please note that in the database, the "bus_products" table is only related to ordering products in the business, not to adding or replacing vehicles in the autoroom.

You can spawn the car without any issues. However, make sure to follow the above steps to properly replace cars with other cars that don't have real-life badges.

Hope this helps!
 
Реакции: n0mercy93