Config
Explanations for all config values.
Last updated
Was this helpful?
Explanations for all config values.
Last updated
Was this helpful?
Because we have extensive configuration files, nested tables is an inevitability. To keep track of which values are for which table we use the tablename.value. This can also stack, for example location.blip.enabled etc.
If there is a feature within the script that you can't find in the script's config, there is a chance that the configuration lies within Zyke Lib. This is to ensure that you never have to configure your targeting menu, framework etc over and over again.
All available keys can be found .
All prop models can be found .
Ped Models All ped models can be found .
Blip Settings All blip settings can be found .
All basic settings.
Set this to a language file available. By default there is "en". You can create your own translations in the locales folder and set your language here. Example:
When the catalytic converter has been stolen the vehicle will produce a new sound. Set this value to the a vehicle you wish to copy. Example:
Set this as a key you want to press to start the stealing. Example:
Simple value to decide if you want polyzones to be drawn on each side of the vehicle where you can start the stealing. You will always see the prompt top left when you can start. Example:
Various minigame settings to configure to match your servers' difficulty. Example:
The total amount of correct clicks you have to do to complete the minigame. Free: 1-10 Easy: 10-15 Medium: 15-25 Hard: 25+
Example:
In seconds, this is the time you have to press the correct key to not fail the minigame. Free: 2.5+ Easy: 2-2.5s Medium: 1.5-2s Hard: < 1.5s
Example:
To intensify the minigame and make it slightly harder, the keys will scramble to a random order everytime you press a key and progress.
Example:
Simply the key to cancel the minigame.
Example:
A list of keys that the player has to press to progress in the minigame. We recommend to keep these keys default, but can be changed to any available key to switch it up for your server.
Example:
Various settings to configure the alerts and blips. Alerts are started
Example:
A list of jobs that will be notified when an alert is started. Set to an empty table
{}
to not alert anyone.Example:
When you start stealing there's a percentage roll to see if the alarm activates or not. Any value between 0-100 is accepted. Set to 0 to disable the alarms.
Example:
If set to
true
, the vehicle will start honking, beeping and flashing if the alarmChance roll hits.Example:
This value dictates how long the blip on the map will be displayed after it has been created. Recommended to keep default, but can be changed to any number you wish.
Example:
Configurable items to use to start stealing. You can modify the multipliers for these items to allow for more expensive alternatives that are quicker to use. This introduces a bit of a risk as you can lose much more if you get caught, but if you are smart you will be able to steal at a faster rate and therefore make more money. Example:
This is the template for a new item. Fill in the itemName variable with the item you wish to use.
This setting will modify miniGame.timePerKey, granting you more time to find the right key before the minigame fails. The higher this value is, the longer time you have. How it works: miniGame.timePerKey * timeMultiplier
Example:
This setting will modify miniGame.totalClicks, possibly shaving down on the amount of successful clicks you need to complete the minigame. The lower this value is, the fewer successful clicks you need. How it works: miniGame.totalClicks * totalClicksMultiplier
Example:
This is the model for the item that you will equip in your hand.
Example:
To keep the prop in place, it is attached to the player. These values is the offset from the plane bone (location) it is attached to.
Example:
To keep the prop in place, it is attached to the player. These values decides how the prop rotates in place.
Example:
This is a list of the items that you can sell to the buyer and their price.
The name of the item you wish to sell.
Example:
The price of the item you wish to sell.
Example:
Example:
Various settings for where to spawn and how to display the buyer. Example:
Simple switch to enable/disable the buyer. Perhaps you have another script taking care of the market.
Example:
Display name on the map and during interaction for the buyer. You can change this into any name you want.
Example:
Ped model for the buyer. This can be changed it any ped model you wish.
Example:
The position for the buyer in vector4 format.
Example:
This is the animation or scenario executed by the ped when it spawns. Animation: Set
dict
as the animation dictionary. Setname
as the animation name.Scenario: Set
dict
as the scenario name. Setname
to""
ornil
.Example:
In seconds, how long you will be negotiating with the buyer for when you are selling a part.
Example:
This is the animation or scenario executed by the ped when it spawns. Animation: Set
dict
as the animation dictionary. Setname
as the animation name.Scenario: Set
dict
as the scenario name. Setname
to""
ornil
.Example:
This is only used if you are not using a target menu. This is the key that you press to open the buyer's menu when you are next to it.
Example:
Various blip settings, won't go into detail on every value as they are pretty self explanatory. Set
enabled
totrue
/false
to enable/disable the blip. Example:
This is a list of intervals within the script that don't fit in any other config table. They are placed in here for easy configuration. All values are in seconds. Example:
Various settings for the limited-time offers the buyer has.
Max amount of deals that the buyer can offer at once. Since each offer is unique, it caps out automatically at the length of the desiredParts.vehicles table.
Example:
In seconds, how long between each batch of offers.
Example:
Here you can define the range for how much the price multiplier will be. It is individually generated for each offer in a batch, so it is recommended to pick a larger range so there can be difference between the offers. It will choose a random value between the two defined, it also allows for decimals. How it works: price * priceMultiplier
Example:
List of vehicles that can appear as limited-time desired parts.
Example:
This is the model for the vehicle.
Example:
This is the image for the vehicle. Make sure that the images are uploaded to a reliable source so that they always appear in-game. There's plenty of vehicles that will never be found without a picture next to them to describe what they look like.
Example:
Example:
A list of jobs allowed to run the event. Leave it empty as an empty table {}
if you don't want it restricted to any job.
Example:
This is a list of all items you get for each vehicle type / class. A list of all of these types can be found , but is also documented in the config. Set a value to "none" to disable stealing for that vehicle type.