From 6d7bfa56d332e9eadf58dcd360311d387d5f9861 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20N=27gadi?= Date: Wed, 2 Aug 2017 11:05:57 +0200 Subject: [PATCH] Update README.md --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/README.md b/README.md index 77fea26d..bf16a874 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,35 @@ # fxserver-esx_society FXServer ESX Society + +[REQUIREMENTS] + +- cron => https://github.com/FXServer-ESX/fxserver-cron +- esx_addonaccount => https://github.com/FXServer-ESX/fxserver-esx_addonaccount + +[INSTALLATION] + +1) CD in your resources/[esx] folder +2) Clone the repository +``` +git clone https://github.com/FXServer-ESX/fxserver-esx_society esx_society +``` +3) Import esx_society.sql in your database +4) Add this in your server.cfg : + +``` +start esx_society +``` +[EXPLANATION] + +ESX Society works with addon accounts named 'society_xxx' like 'society_taxi' or 'society_realestateagnt'. +If you job grade is 'boss', you will see the society_xxx money of your job showed in the HUD. + +[USAGE] +``` +local society = 'taxi' +local amount = 100 + +TriggerServerEvent('esx_society:withdrawMoney', society, amount) +TriggerServerEvent('esx_society:depositMoney', society, amount) +TriggerServerEvent('esx_society:washMoney', society, amount) +```