Advanced Search
Search Results
41 total results found
Homepage
Who we are At Scriptforge, we take great satisfaction in producing custom FiveM scripts designed to improve your gaming experience. Our team is available to offer you top-notch solutions whether you're a dedicated FiveM player, server owner, or developer tryi...
Understanding Our Structure
Allow us to walk you through the structure of our scripts, designed with flexibility and customization in mind to meet your specific needs. Our scripts consist of various folders and files, each serving a distinct purpose: Client Folder: Inside this folder, ...
Custom inventories and frameworks
In our scripts that are made for certain frameworks like ESX or QB we have included bridge.lua file in server/main.lua.Here you can easily integrate your custom inventory or custom framework into our scripts. The file looks like this: --server/bridge.lua fu...
Server Functions
RegisterObject Register object with offset and rotation needed for attaching it to a player. exports["sf-attachobject"]:RegisterObject( objectName, modelHash, offset, rotation, boneId, disableCollision, completelyDisa...
Lucky wheel
Configuration Props All the prop and object coords can be found in config.*.lua file. By default, we made config files for GTA:O casino, and GABZ Casino. Rewards For configuring the rewards you can either use the config_rewards.lua script from the root d...
Slots
Configuration When working with the script, refer to this table to identify the available configuration entries and their corresponding data types, default values, and descriptions. Modify these entries as required to tailor the script's behavior to meet your...
Table games
Blackjack deck logic In the config.lua file of sf-blackjack you can set the Config.RandomDeck = true -- Boolean value to either true or false. If set to true the deck (3x standard 52 card decks) that is used for playing is shuffled every game whic...
Texas Holdem
Installation Download the sf-texasholdem and holdem_props. Place the unpacked folders into your server resources directory, and add the following lines to your server.cfg file. Then, restart the server: ensure holdem_props ensure sf-texasholdem Configuring...
Installation
ox-inventory Installation data/weapons.lua Add the following code snippet to the weapons file: ox_inventory/data/weapons.lua:705 ['WEAPON_TEARGAS'] = { label = 'Tear Gas', weight = 600, throwable = true, }, -- Lines below ['WEAPON_F...
Installation
This resource require sf-attachobject in order for attached props to work, you can download it here Download the sf-houserobbery. Place the unpacked folder into your server resources directory, and add the following lines to your server.cfg file. Then, restar...
Config files
Here are the most important values taken from both configs Server-side config file config.lua -- all chances combined must equal to 100, you can use float values like 0.05 (0.05%) Config.StashItems = { ["low"] = { { name = "hr_p...
FAQ
How do I use my own dispatch In the server/main.lua change the DispatchHouse function to use your dispatch resource How do I use my own lockpick If you want to use other item or use different logic for lockpick check out our implementation in server/main.lu...
Connecting ps-dispatch
Restart the server first before testing the changes In the ps-dispatch/main/client/alerts.lua replace the HouseRobbery function with this ps-dispatch/main/client/alerts.lua:311 local function HouseRobbery(coords) local coords = coords or GetEntit...
Simulating House Robberies
We have prepared server-side console commands for simulating house robberies. These commands allow you to analyze the drops and to easily tailor the script for your economy. Results obtained from the console commands are based on random simulations and may va...
Installation
Some jobs require sf-attachobject in order for attached props to work, you can download it here Download the sf-jobsystem and jobs. Place the unpacked folders into your server resources directory, and add the following lines to your server.cfg file. Then, res...
Configuration
Most Important Values Most job configuration files are similar. Here, you can learn about the most important ones: Player Payouts There are two types of payouts: Base payout and bonus percentage for each additional player. Fixed payouts for a given numb...
Farmer Job
Config file config.lua Language = "en" Config = {} Config.SellPed = { coords = vector3(1724.345825, 4714.210449, 41.137386), heading = 198.645218, model = `a_m_m_salton_02` } -- plants render distance Config.RenderDistance = 150.0 -- remov...
Miner Job
Config file config.lua ESXEvent = nil -- set to nil to use export or event name Language = "en" Config = {} Config.Clothes = {} Config.WeaponName = "WEAPON_PICKAXE" Config.SellPed = { coords = vec4(2340.691895, 3126.286133, 47.208706, ...
Plumber Job
Config file config.lua ESXEvent = nil -- set to nil to use export or event name Language = "en" Config = {} Config.MoneyItem = "money" Config.Clothes = {} -- ragdolls player when running/jumping with pipe Config.DisableFastMovement = ...
Installation
Download weapon_newspaper and sf-paperroute from your Keymaster Add those two resources into your server.cfg: ensure weapon_newspaper ensure sf-paperroute Add weapon_newspaper to your inventory / framework config files. Make sure that weapon_newspap...