Skip to main content
Skate shops are where players buy decks, trucks, wheels and complete skateboards. Two of them are included by default, at Vespucci Beach and Paleto Bay.
1

Open the config.lua

2

Scroll down to the section labeled Config.SkateShops.

3

Now, you can create a new shop.

Following this format:
myshop_loc_vinewood refers to the name of the shop, players never see it.
Copying one of the two included shops is easier than writing an entry from scratch, you only need to change the coordinates.

The shop

  • label: the name shown in the shop menu and on the map
  • coords: where the shop is, players interact here and the parts on sale are displayed here
  • heading: which way the displayed parts face

The shopkeeper

  • ped.model: the ped model standing in the shop
  • ped.coords: where they stand, the last number being the direction they face

The camera

While browsing, the player’s camera moves to the shop.
  • camera.coords: what the camera looks at, the last number being its heading
  • camera.relative: true if coords is an offset from the shop, false if it is a position on the map
  • camera.pivotOffset: nudges the point the camera turns around, if the part is not quite centered
  • camera.heading: which side the camera looks from
  • camera.pitch: how far above or below the part the camera sits, negative looks down
  • camera.distance: how far back the camera sits

The map blip

  • blip.active: set to false to hide the shop from the map
  • blip.sprite: the blip icon
  • blip.color: the blip color
  • blip.scale: the blip size

Loading the shop only with a map

If your shop is inside an MLO, you can make it load only when that resource is started:
If that resource isn’t running, the shop and its blip are skipped and a message is printed in the server console.