AI Core

ai-vehicleshop

Vehicle shops with a showroom camera, a live preview, color swatches and delivery outside.

ai-vehicleshop sells vehicles. One catalog holds every vehicle with its price and category; each shop sells some of those categories.

What it does in the game

  • Walk to a shop's counter and press the interact key at Browse .... The camera moves to the showroom and the screen shows the shop's categories.
  • Pick a vehicle to see it on the preview spot, and pick one of eight colors.
  • Buy takes the price from the first account that can pay it (bank first by default). The vehicle is created in ai-vehicles, owned by your character, and waits at the delivery spot with the keys. The color stays until the first time you park it (then the garage saves its full look).
  • If the vehicle cannot be made, the money goes back to the account it came from.
  • A shop with jobs or gangs set (a police dealer, a gang shop) shows its prompt and blip only to members.

Installation

Installed by the AI Core recipe. By hand: ensure ai-vehicleshop after ai-core and ai-vehicles.

It comes with six shops: Premium Deluxe Motorsport, Luxury Vehicle Shop, Marina Shop, Air Shop, Truck Motor Shop and Sanders Motorcycles, and a catalog of 34 vehicles in the compacts, sedans, SUVs, sports, super, muscle, off-road, vans and motorcycles categories.

The Marina, Air and Truck shops sell the categories boats, helicopters, planes, commercial, industrial and utility, which have no vehicles in the default catalog. Add vehicles with those categories in the Catalog tab, or those shops stay empty.

Panel settings

Admin panel > Vehicle shops.

Tab: Catalog

Every vehicle players can buy, its price and category. One record per vehicle (New vehicle / Remove vehicle from the catalog). Removing a vehicle from the catalog does not take it from players who own one.

SettingWhat it changesUnitDefault for new
ModelThe GTA spawn name (sultan, adder, bati). Lower case letters, digits and _, 2-32 characters.
NameShown in the shop. Empty uses the game's own name. Up to 48 characters.empty
Price0-100,000,000, steps of 1,000 in the panel.$10,000
CategoryShops sell the categories they list (sedans, sports, motorcycles...).sedans

Tab: Shops

Where players buy vehicles and which categories each shop sells. One record per shop (New shop / Delete shop).

Shop card: where players open the shop and what it sells.

SettingWhat it changesUnitDefault for new
Shop nameShown on the prompt and the screen. 1-48 characters.
CounterStand where players open the shop and use your position.point
ReachHow far from the counter the prompt shows. 1-30.m5
CategoriesCatalog categories this shop sells (up to 30).empty
JobsOnly members of these jobs can use it. Leave jobs and gangs empty for everyone.empty
GangsMembers of these gangs can use it too.empty
Only on dutyJob members must be on duty in that job.on / offoff
Map blipShows this shop on the map, with the look from the Settings tab.on / offon

Showroom card: where the previewed vehicle stands, where the camera looks from and where bought vehicles come out.

SettingWhat it changes
Preview spotStand where the shown vehicle should be, facing its front direction.
CameraLook at the preview spot with the game camera and use the camera position.
Delivery spotWhere bought vehicles appear, facing your direction.

NPC card: an optional clerk at the counter (Model, What it does, Where it stands). Leave the model empty for none. Players see it within 50 m.

Tab: Settings

How purchases are paid and how shops look on the map.

SettingWhat it changesDefault
AccountsTried in this order until one has enough money.bank, cash
Shop (Map blips)The blip of shops (icon, color, size).icon 326, color 3, size 0.7
Motorcycle shop (Map blips)A shop that sells only the motorcycles category.icon 226, color 3, size 0.7

Commands and keybinds

None. The shop prompt uses the interact key (E by default) and shows on foot only. ESC closes the shop.

Known limits

  • Colors are eight preset GTA colors. There are no mods and no test drive in the shop (a test drive exists at the used car lots of ai-vehiclesales).
  • The preview vehicle exists only on the buyer's screen; other players do not see it.

On this page