Farmer Simulator Job [AlmostStandalone]

plt_farmer.gif

#$# Buy on Tebex.IO #$#

Lisence System

  • Script is partially encrypted by CFX Asset Escrow System and again with the same license system, it is licensed on your cfx account that you entered when purchasing.

  • After you bought the script, tebex will automatically send an email with a download link. You can also download your package later from your own keymaster dashboard.

  • Only some of the codes are encrypted. You can configure many parts as you want.

  • You need server artifact version 4752 or above to run resources using this feature.

  • You can transfer ownership of assets once by navigating to ‘Purchased assets’ on keymaster. From there you can select the ‘Transfer to another account’ option and enter the account name of the person you want to transfer the content to.

  • Scirpt is only uploaded to the keymaster account that is linked to the cfx account you logged into when purchasing. and it only works on license keys generated from that keymaster account.

  • Detailed CFX Asset Escrow System

How to do the farmer job?:

  • Go to the the marked area on the map and change your outfit with workwear (optional) and choose a non occupied field to start the job.
  • Attach the tractor to the baletrailer and start driving to the marked field.
  • When your arrive to the field, the crops and harvester will be there. Park the tractor and get into the harvester.
  • Harvest all marked crops with harvester. Move the pile of crops on to the baletrailer and then drive the tractor to starting point which will be marked as well.
  • Park the tractor and baletrailer behind the trucks trailer. Load the pile of crops from baletrailer to the trailer.
  • When finished get in to the truck, combine it with trailer and drive it to the marked warehouse.
  • Pick up the pie of crops and deliver them to the warehouse.
  • Bring the truck back.

Update:

  • Works with Extended and QB-Core.With a few simple steps you can make it work on other frameworks.Here i will explain how to make it work on other frameworks if you can’t make it work just contact me and i will help you out.

  • As an option you can use the MenuV instead of standart menu system if you want. If you are using “Extended framework” you can also use the esx menu system as well.

  • There will be an option when the player brings back the tractor loaded with pile of crops to the farmer job center. If they want they can leave the job there and take only half of the money. If they want to finish the job properly they will receive the full money but they have to make the delivery with they truck as well.

  • If you bought the script before the update, just contact me via discord and give me the mail address you used to buy it for the link of the new updated version.

  • Update includes: MenuV can be used as an alternative. Players can leave working at the middle of the job and receive half of the money.

What you can edit in the config file and How to integrate:

  • Most of parts in config file is editable and explained detailed. Following the screenshot of the config file will give you some ideas.

  • If you don’t want to use the MenuV, just set the ‘@menuv/menuv.lua’ as a comment line in the “fxmanifest.lua”.

  • If you are using ESX just change the PLT.UseEsxFramework set true in config.lua.

  • If you are using QB-Core just change the PLT.UseEsxFramework set false in config.lua.

  • If you are not using any of those, just search for the “shouldbeintegrated” word in all the files so you can find the codes you need to change.

  • If you are not using QB-Core or ESX here are the pictures of the places you need to change:

Photos

pltfarmer





  • just by changing the notification event from the function in the photo below. You can easily change it from anywhere.
    notfiy

Things you should know:

  • if PLT.jobRequired “true” then you need to import it into your farmer.sql database if you using esx_joblisting or compatible with it farmer job automatically will be listed on your business center. If you are using a different business center script, you should integrate it .if PLT.jobRequired false then you don’t need to do anything and everyone will be able to start the job.
  • Script creates bales, crops, harvester, tractor, bale trailer, truck and truck trailer at certain stages of the job. if you move 400 distance away from these objects. The information of these entities is deleted on the player side and kept on the server side. When you approach, it is transferred to the player side with new information. Because the information has changed, the script cannot process those objects. Therefore, when the player is 350 distance away from the objects, it starts giving an error message to the player. If it exceeds 375, it deletes all entities and cancels the profession.
  • When player crashed or get out of the game somehow, spawned objects stays on the server. This is how i solved this situation: those who do work are saved on the server side. If she/he leaves the server without finishing her job, using fivem natives deletes all the objects that player created with this script. As a result if the player on job and disconnected, automatically all objects are deleted and the worked field becomes reusable.
  • There are 7 fields in total and 7 players can work at the same time. When you arrive the truck delivery step, this field will be reusable by other players. This way there won’t be any queue or if there is any queue the waiting time will be shortened.
  • The harvester is and old shared work on the web and its replaced with “tractor3” also the original “baletrailer” is replaced after i deleted the bales on it.

My Other Script:

34 Likes

Hey this is awesome! Will def consider!

2 Likes

Thank you for your positive comment.

Very good attention to detail on this, good job! Better than half the shitty job scripts on here!

1 Like

Thank you so much for your comment

Wow! I love it! All animations are clean, i just love it

1 Like

Very very good. I love it

1 Like

thanks you bro have fun :smiley:

1 Like

I love you too :hearts:

OMG! I like this one to my server. In the future i will buy it. It’s AWESOME. Incredible bro 5/5 stars

1 Like

I look forward to the day you buy it, my friend. I love you too :hearts:

Awesome work! thanks alot

1 Like

+rep , perfect script !

1 Like

Got it in server, +1 rep great script best farming ever and all syncs with everyone around. :wink:

Great job thanks for sharing

1 Like

Thank you for your purchase. I am very happy that you liked it and that you had no problems. Also, thank you for taking the time to comment…

1 Like

Its a job ? or

1 Like

What are the requirements to become a job?
firstly sorry my trash english :smile:
I did not fully understand your question. if your question:Does the player have to have a job to do the job?, this can be set in the config. If you want, only those who have x job can do it. If you want, anyone can do it. Below is the image of the settings file.

yes get paid at the end when you deliver, you can use the job center for the job or have it stand alone so no job on database is needed.

2 Likes

Is the script encrypted? We use pNotify, it would be unpleasant to use a second notification script.

1 Like

not encrypted, and you can easily change coding like that

spamming notify:

bildir(PLT.U["takebale"],nil,false)-- meaning of false here: notify sound deactive
---------------------------------------------------
function bildir(msg, thisFrame, beep, duration)
    AddTextEntry('pltHarvesterNotify', msg)
    if thisFrame then
        DisplayHelpTextThisFrame('pltHarvesterNotify', false)
    else
        if beep == nil then beep = true end
        BeginTextCommandDisplayHelp('pltHarvesterNotify')
        EndTextCommandDisplayHelp(0, false, beep, duration or -1)
    end
end

simple notify:

exports['mythic_notify']:DoCustomHudText('error', PLT.U["not_yours"] ,7500)
1 Like