
Garage System
Installation
warning
We highly recommend you to read carefully each step written below.
Don't skip any step, it could lead to a non-functioning script.
Follow these steps to install the script
- Download this pmc-instance (fork by myself) https://github.com/s1nyx/pmc-instance/ (Go to the button "Code" > "Download ZIP")
- Unzip the downloaded file and drag the
pmc-instance(rename it like this if it's not already th case) folder into yourresourcesdirectory. - Download menuv https://github.com/ThymonA/menuv/releases/download/v1.4.1/menuv_v1.4.1.zip
- Unzip the downloaded file and drag the
menuv(rename it like this if it's not already th case) folder into yourresourcesdirectory. - Download the Garage script from KeyMaster.
- Download the "Library" script from KeyMaster.
- Drag the
s1n_garagesfolder into yourresourcesdirectory. - Rename the
s1n_garages-....folder tos1n_garages. - Drag the
s1n_libfolder into yourresourcesdirectory. - Rename the
s1n_lib-....folder tos1n_lib. - Start pmc-instance by adding
start pmc-instanceto yourserver.cfgfile. - Start menuv by adding
start menuvto yourserver.cfgfile. - Start the library by adding
start s1n_libto yourserver.cfgfile. - Start the garage system by adding
start s1n_garagesto yourserver.cfgfile. - Configure the script by modifying the values in the
config.luafile located in thes1n_garagesscript folder. - Configure the library by modifying the values in all the files contained in the
configuration/folder located in thes1n_lib/script folder.
Configuration
By default there is three language translations, french, english and german that you can find in the languages directory. To load the one you want, please modify the fxmanifest file and change the "languages/english.lua" to whatever file in LUA with same structure.
note
server/api.lua will allow you to:
- custom what happens when you disconnect from the server
- custom the verification for plate ownership
client/utils.lua will allow you to:
- custom format money
- custom notifications
- custom remove vehicle logic
- custom the way to get vehicle properties
- custom the way to set vehicle properties