[RELEASE] Tow Enterprise 1.0 (Take Service, Menu, Chest...) [07/07]

Hi guys,
Today, i’m sharing my tow system with any features

Requires:

  • EssentialMode
  • VDK_Call (optionnaly)
  • Model Menu (optionnaly)
  • Jobs-Systems
  • Banking

Download:

Installation:

PLEASE READ ALL CODE BEFORE YOU PUT IT AND SAY HE DOESN’T WORK !

  • Add ‘sql.sql’ to your database
  • Check “client.lua” for settings
  • Check “server.lua” for settings
  • Put the folder in your ressource !
  • Do not forget to add “- depanneur” in your “citmp-server.yml”

IN BANKING SERVER.LUA, ADD:

RegisterServerEvent('bank:withdrawFactureDep')
AddEventHandler('bank:withdrawFactureDep', function(amount)
    TriggerEvent('es:getPlayerFromId', source, function(user)
        local player = user.identifier
        local bankbalance = bankBalance(player)
		withdraw(player, amount)
		local new_balance = bankBalance(player)
		TriggerClientEvent("es_freeroam:notify", source, "CHAR_BANK_MAZE", 1, "Mystic Bank", false, "FACTURE DEPANNEUR - Nouveau Solde: ~g~$" .. new_balance)
		TriggerClientEvent("banking:updateBalance", source, new_balance)
		TriggerClientEvent("banking:removeBalance", source, amount)
		CancelEvent()
    end)
end)

Features:

  • Take Service
  • Service Menu
  • Billing System
  • Sell Vehicles
  • Call System (With vdk_call)
  • Service Car with bail
  • Chest system (Money/Dirty Money/Laundering)

Next Version:

  • MySQL Async
  • Call System without Vdk_call
  • Blips only in service
  • Differents functions
  • Objets

Screenshots:







I do not make support !

My others Projects :

http://mysticrp.16mb.com/

All texts are french because i’m french baguette

(Some functions come from other scripts but I do not remember names,
If you see your code, tell me for credits !)

6 Likes

Thanks for script it’s very very good script :stuck_out_tongue:

For when is the async version please ?

Thanks Oskarr

1 Like

this work in couchDB ?

No sorry i don’t use CouchDB ^^ but if you translate it in couch db , you can send me private message for add it

server.lua (13.1 KB)

Converted the server.lua to mysql-async

Havn’t tested it but should work.

If it fails its because on line 65, 70, 76, 90, 95, you need to change ‘1’ to 1

:smiley:

1 Like

Thanks for translate !!! :slight_smile:

Thanks for translate ! :wink:

No problem! :smiley: Need anymore PM me

1 Like

Very good translate 0 problems guy :wink:

1 Like

Has anyone translated the original to English ?

Thanks for the release ! Compatible with LaLife gamemode ?

Server.lua for source La_LifeRP https://pastebin.com/AG68qkxZ

2 Likes

But as you are not going to use CouchDB if the essentialmode and the es_admin is only with Couchdb? I would like to do it in Mysql / phpmyadmin, but do not write to me or read the database only works for me in CouchDB …

Thx for your share @Oskr and thx for your EDIT @WalterWhite

@WalterWhite do you have a version taxi script of Oskr for LaLife ?

thx guys :wink:

“MENU DEPANNEUR” : VERSOIN ENGLISH

https://mega.nz/#!b5VC1LCA!8p4hbdY55AIB5SYoFHaNoO68vnLjvmpQ4EwqOirayEw

1 Like

Look release script for link :wink:

1 Like

I’ve old essential mode (2.0) but the author don’t allow to share it , search on forum !

Please put the code in GitHub or Pastebin for others peoples can see it easy ^^ Thanks for translate :wink:

Having an issue on this and the newly released “taxi” where when someone tries to return the vehicle (tow truck or taxi cab) it will not return and gives the notifying message that I changed to “This is not a company truck”. No Error codes are popping up in console obviously as its giving the proper cannot store command, code looks good, any suggestions?

Edit: Solution Found: Leave License Plate Default.

Issue :

The notification “Vehicle selled for 3.000$” is a global notification.
All people in the server receive the notification.