[ESX/QBCore] sc_phonetax [FREE]

[ESX/QBCore] sc_phonetax

Hello friends,

Today I would like to introduce you to the new version of sc_phonetax. This version offers you an incredible number of setting options and you can choose between three different notification systems. For players who do not only have one item as a phone, several items can now be stored. All necessary settings can be found in the config.lua file.

New in this version:

  1. QBCore support: The system is now also fully compatible with the QBCore framework and thus offers a broader usability.
  2. Own notification system: The dependency on ox_lib has been removed. Instead, the script now uses our own notification system sc_notify. Alternatively, the standard notifications from ESX and QBCore can still be used.
  3. Optimized code: The code has been fundamentally optimized to improve the performance and efficiency of the script.
  4. Multiple phone items: Multiple items can now be stored in the configuration that are counted as a phone.

Our notification system

sc_notify

Requirements

ESX-Legacy

or

QBCore

» Download sc_phonetax

Installation

Clone or download this repository

Add sc_phonetax to your resources directory

Add this in your server.cfg :

ensure sc_phonetax

» Check out my other resources

» sc_extinguisher [FREE]
» sc_animatedNPC [FREE]
» sc_dumpster-diving [FREE]
» sc_hud [FREE]
» sc_package [FREE]
» NEW DESIGNS FOR JSFOUR-IDCARD [FREE]

Code is accessible Yes
Subscription-based No
Requirements ESX Legacy
Support Yes
11 Likes

Hi, angenommen man verwendet das Roadphone und es gibt mehrere Handyitems, kann man die in Config.PhoneItem in Reihe ausschreiben getrennt mit einem “,”?

Als Beispiel:
Config.PhoneItem = "phone, phone2, phone3"

oder
Config.PhoneItem = "phone", "phone2", "phone3"

Nein derzeit geht das noch nicht, ich bringe aber zu Freitag ein neues Update raus. Da sollte es dann Funktionieren.

1 Like

Falls jemand nicht 10.1 verwendet sondern drunter:

Serverside ersetzen

        for _, source in pairs(GetPlayers()) do
            local xPlayer = ESX.GetPlayerFromId(source)
            print("Test fĂĽr Handyrechnung")
                if xPlayer.getInventoryItem('phone').count > 0 then

So die neue Version ist raus, du kannst jetzt mehrere Items hinzufĂĽgen und nutzen.

how to pick up the phone?

I don’t understand your question, what exactly is your problem?

how do we open the phone menu?

It is not a phone script, it only deducts costs if you have a phone or other defined items in your inventory.