[FREE] [ESX] [QBCore] dsPaycheckSystem

Advanced script for paycheck in any kind of job
(in the video shown it was configured in the es_extended itself to get a paycheck instead of making it to the bank. You have to walk to the city hall and claim it, more interactive)
You can replace any job for the trigger to pay him instead of going straight to the bank of the player

Easily configurable and you can create many points of recollecting your money as for creating blips (all in the config file)

Features

  1. Optimization
    • 0.00ms | Idle and In Usage 0.01 ms
  2. Customization
    • Change notifications
    • Change NPCS Model or Animations and Blips
    • Make more points for NPCS and Blips
    • Edit all blips and markers
    • Adding an option to withdraw all or a quantity
    • Showing the money in the interface
    • Available for ESX Legacy or below
    • DrawText if you don’t like Target System

Dependencies:

This is an update that many of my discord asked me to, and I’m bringing it up to you

UPDATED VIDEO

Preview:

If you can’t see it click in the video above
Streamable

The code is easy to read and can be easily changed. If you can’t work around the code, you can ask for help

Download Link:

Github
If you want to donate to me for making the script, here’s the Tebex :heart:

Documentation:
Link

Code is accessible Yes
Subscription-based No
Lines (approximately) +100
Requirements Listed Above
Support Yes
6 Likes

This is great :+1:

1 Like

why not use ox_lib? either way this is a great one for more interactive rp

I think you’re quite right!

isn’t this just dx paycheck …

This is a great idea, I’m going to implement it! Thanks

dsPaycheckSystem

Updates

  • Added ox_lib as a new form of interface, you can choose from esx menu default or ox_lib
  • Fixed some commas missing in the translation menu
  • Fixed some common errors i had on my previous version

oh nice! I was already doing it myself but really thanks for this!

1 Like

I am the creator of dx-paycheck, I’m updating it to legacy because too many people on the discord asked me to

you already added the ox_lib, why not use its progressbar instead?

function OpenPaycheckMenuOX() 
	ESX.TriggerServerCallback('dsPaycheckSystem:server:GetDataMoney', function(count)
		paycheckdata = json.decode(count) 
		lib.registerContext({
			id = 'paycheckMenu',
			title = 'Paycheck Menu',
			options = {
				{
					title = _U('menu.money_information', paycheckdata),
				},
				{
					title = _U('menu.withdraw_all'),
					description = _U('menu.withdraw_all_desc'),
					icon = 'circle',
					onSelect = function()
						if lib.progressCircle({
							duration = 5000,
							label = _U('menu.cashing_out'),
							position = 'bottom',
							useWhileDead = false,
							canCancel = true,
							anim = {
								scenario = 'WORLD_HUMAN_CLIPBOARD'
							},
							disable = {
								move = true,
								car = true,
								combat = true
							}
						}) then
							TriggerServerEvent('dsPaycheckSystem:Payout')
						else
							-- exports['okokNotify']:Alert('', 'You cancelled this action!', 5000, 'error', true)
							lib.notify({
								title = 'Paycheck',
								description = 'You cancelled this action!',
								type = 'error'
							})
						end
					end,
				},
				{
					title = _U('menu.withdraw_quantity'),
					description = _U('menu.withdraw_quantity_desc'),
					icon = 'circle',
					onSelect = function()
						local input = lib.inputDialog('payCheckAmount', _U('quantity_imput'))
						if not input then return end
						print(json.encode(input), input[1])
						if lib.progressCircle({
							duration = 5000,
							label = _U('menu.cashing_out'),
							position = 'bottom',
							useWhileDead = false,
							canCancel = true,
							anim = {
								scenario = 'WORLD_HUMAN_CLIPBOARD'
							},
							disable = {
								move = true,
								car = true,
								combat = true
							}
						}) then
							TriggerServerEvent('dsPaycheckSystem:withdrawMoney', tonumber(input))
						else
							-- exports['okokNotify']:Alert('', 'You cancelled this action!', 5000, 'error', true)
							lib.notify({
								title = 'Paycheck',
								description = 'You cancelled this action!',
								type = 'error'
							})
						end
					end,
				},
			}
		})
	end)
	lib.showContext('paycheckMenu')
end

Oh thats a good thing, let me add it as an option in the code, thank u for your implementation! :heart:

dsPaycheckSystem

Updates

  • Added ox_lib as a new form of progressbar, you can choose from rprogress or ox_lib (Shoutout to @Jissuunnn for this commit)
  • Added translation for cancelling the progbar
  • Added a Config to select between rprogress or ox_lib
1 Like

dsPaycheckSystem

Updates

  • Added the QBCore Version! That comes with:
    • QB ProgressBar Option
    • QB Menu Option
  • Fixed the problem when you can’t spawn 2 peds or more
  • Updated Preview Video

hey it’s better you add the changes for the paycheck.lua from es_extended to the github repository. Your documentation link isn’t working :slightly_smiling_face:

Fixed!

‘F8’

you’re starting the script before the dependencies! start es_extended and ox_lib first then start the paycheck script

2 Likes