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:
trueif coords is an offset from the shop,falseif 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
falseto hide the shop from the map - blip.sprite: the blip icon
- blip.color: the blip color
- blip.scale: the blip size