d0p3t
22
To change payment limits you can use ConVars. For example add to your server.cfg:
set mail_min_payment 100
To change the minimum payment to be 100.
You can hook the payment to your own system using events.For example, server side listen for an event and add payment to a bank account:
AddEventHandler("MailDelivery:DeliveryMade", function(payment)
-- add payment to players bank account
end)
A full list of events and convars is in the first post under Installation & Configuration
Unfortunately, this does not work out-of-the-box with popular frameworks like ESX, so it requires some coding knowledge.
Edit: YOU DO NOT AND SHOULD NOT edit any of the files of this release. Just download the release
1 Like
I wish more people would make standalone mods, Thank you for this.
Im currently stuck on trying to solve
private static readonly Color DutyColor = Color.FromArgb(255, 92, 133, 255);
the ‘color’ section is the problem,
Any help would be appreciated
d0p3t
27
Add this
using Color = System.Drawing.Color
I know that the Color type exists in both CitizenFX and System.Drawing namespaces but it shouldnt conflict with the way I set it up 
@CakeArmy_Max you have to indeed start the job. The rental van spot is only for renting the van.
Tried it, still doesnt work, ill keep messing around with it unless you have anymore suggestions
d0p3t
29
Post Update 09/01
I’ve added a link to an ESX Addon by @blarglebottoms called esx-maildelivery. It showcases how easy it is to integrate this job into your current system.
See Important LInks in the main post for a download link.
2 Likes
it is not wanting to work for me when i try to join the server it tells me that it couldn’t load maildelivery resource.
any tips?
Sounds like the structure of the directory is like “mailjob/mailjob/…”
But right is
“mailjob/…”
Could you add the player’s name to the payment server event? That would help greatly!
Anyone that fully edited the script to esx? It does not work for me. Maybe you can upload a script for esx users where it is already fully working.
And where can you read how to do the installation then? Do you need to run them both, or do you need to implement it in the other script. I’m not a coder myself. But thanks for the reaction 
schwim
36
It’s an addon. Per the GitHub:
Simple event listener to make mail delivery work with ESX.
Requires:
So you need the MailDelivery, then you just run this as an additional resource.
Thanks, that is an answer I can use
Thanks bro
this is how I have it setup.
when you return the DeliveryTruck the blips are not dissapearing and you can move them around.
I am using the standalone version
zee
40
Download this file, don’t download the source code.
copy thanks got it workin
so another question? Since this file only came with the maildeliveryclient.dll file and the resource.lua file, where do I edit it to where I use a different vehicle.