Custom script and esx link

I would like to get the custom script linked to the esx to give you money or items when you complete the mission.
In other words, if complete a mission in custom script (mission-related), give it items or money, I don’t know what to do.

If you wanted to make a script ESX based at the top of it add:

ESX = nil

Then you can use ESX’s give item/whatever codes which you can find in their wiki.

Do you know how to link databases? To get player money, for example, or add it.

That should help you.
Once you get all that set up you can use essentialmode get functions to help you with that.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.