d0p3t
November 19, 2018, 10:12pm
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
November 21, 2018, 8:45am
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
January 9, 2019, 7:53pm
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
January 18, 2019, 3:15pm
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
January 18, 2019, 11:45pm
40
d0p3t:
Download: Link
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.