Code is accessible: | Yes , some parts are encrypted. however, many parts are open and you can configure it according to you. Encrypted with CFX Asset Escrow System |
Subscription-based: | No |
Lines (approximately): | 2000(not encrypted) + 2500(encrypted) totaly 4500 lines. |
Requirements: | Ready to run in ESX and QB-Core, for other frameworks you have to change givemoney and job funtions.) |
Support: | Yes |
#$# Buy on Tebex.IO #$#
- Script has 3 different stages (jobs) and all the stages are independent. For example players can only do the wood cutting job and they don’t have to continue and finish the rest of the jobs.
- Script is being tested on a server(150 online player) for a mount that i’m developed and being tested by 10 of my customers for 2 weeks. No known bugs were found.
Job Requirement
- You can set whether players need a profession to be able to the work. You can even set it to require different professions for each of the 3 jobs. For example; ‘lumberjack’ for tree cutting works, ‘operator’ for stacking pallet of lumbers and ‘driver’ for delivery of lumbers. In addition, you can set the grades you want to be able to do the work.
Tree Cutting Works
- Script gives the telehandler and the chainsaw to players. chainsaw is automatically given to player’s hand when player gets out of vehicle. The player has to go to a tree that can be cut, does all the cutting of the tree, loads the cut wood into the telehandler, leaves the wood in the stand, can cut a new tree without delivering the telehandler if the player wants, the money is paid when the telehandler is delivered.
Stacking Pallet of Lumber Works
- Script give forklift to player. Player can park the forklift on a suitable trailer if there are any or can pickup a pallet of lumber with the forklift from stand and loads on a suitable trailer if there are any available. The money is paid when the forklift is delivered.
Delivery of Lumbers Works
- The players goes to a construction site of their choice with a truck loaded with pallet of lumbers, delivers the pallet of lumbers and returns the truck to the place where they took it. They receive a fixed fee for the work and an extra fee for the distance of the construction they delivered.
CPU Usage
-
0.00ms when the player is away from job area. Only when another player does something that needs to be synchronized on the size (like: Falling tree or pick lumber from stand) will momentarily go up to 0.01 ms and fall backs again.
-
On average, 0.04ms while the player is working
-
0.1ms only when in Falling tree, logs rolling on stand and pallet of lumber moving on stand affected animations. If you set the value of PLT.LessCpuUsage = true from config.lua the usage will stay 0.04ms, but the animations effect will not be realistic.
Script Operation and Settings:
-
Trees that have been cut appear as cut on other players as well. Will respawn after you set minutes.
-
You can specify the minimum number of cuttable trees you want always to be on the map from the config. If the number of cuttable trees falls below this number, the system automatically completes the number of cuttable trees by adding cuttable trees equal to this number without checking the respawn timer.
-
The logs left on the stand after cutting the tree are added to the other stand as a pallet of lumber.
-
The pallet of lumbers taken from stand and loaded onto the truck decreases from the stand.
-
The system automatically adds new pallet of lumbers to the stand when the pallet of lumbers in the stand fall below the value you set in the config. This is optional, you can turn it off or on dependin of your choice.
-
If there is no pallet of lumbers left in the stand, this work cannot be done. someone has to do the wood cutting and drop the woods at the stand.
-
Pallet of lumbers must be loaded on the trailer before the delivery work can be done.
-
You can set it as forklifts are always parked automatically on top of the truck. That way there won’t be an extra parking forklift jobs.
Cancellation of ongoing work:
-
Getting too much damage to job’s vehicles.
-
Moving too far from script objects.
-
If player disconnect from game.(In this case, all entities that have spawned for the player are deleted.)
Modelling
-
The platform made for parking the trucks is designed by @RGS and I made a lot of adjustments in the field.
-
Trees and chainsaw objects were designed by @BzZzi and other object set add-on which i used in script.
-
The trailer (trflat) has been turned into an add-on (plttrflat). Because I added the pallet of lumbers and the ramp to the trailer as an extra. If you are using trflat elsewhere, this wont affect it.
-
The trucks(packer,phantom,phantom3) has been turned into an add-on(pltpacker,pltphantom,pltphantom3). Because the trailer is pluggable and if you use these vehicles on elsewhere, this wont affect it.
-
The forklift has been turned into an add-on(pltforklift). Because I added the pallet of lumbers as an extra to the forklift. If you are using forklift elsewhere, this wont affect it.
-
Lumber on forklift’s forks, lumbers on trailer and logs on telehandler’s froks are added to the vehicles as an extra.
-
Telehandler( JCB TM320s ) is a add-on vehicle designed by @PetterLund
Credits
- Thanks to @PetterLund for JCB TM320s creating, right to Use and other helps.
- Thanks to @BzZzi for trees, chanisaw modelling and other helps.
- Thanks to @RGS for platform modelling and other helps.
Gitbook for Installation and other details:
My Other Script: