Giter VIP home page Giter VIP logo

esx_illegal's Introduction

esx_illegal - ESX V1.2.0

I changed ESX_Drugs and added a lot of features like more drugs and licenses for the money wash and the money wash itself.
If you're running on an older verion of ESX(V1.1.0) than please use this branch.

alt text

Download & Installation

Using fvm

fvm install --save --folder=esx Xovos/esx_illegal

Using Git

cd resources
git clone https://github.com/Xovos/esx_illegal [esx]/esx_illegal

Installation

  • Import esx_illegal.sql in your database
  • Add this in your server.cfg:
start esx_illegal

Legal

License

esx_illegal - drugs job

Copyright (C) 2015-2018 Xovos

This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.

This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.

You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.

esx_illegal's People

Contributors

demo4889 avatar xovos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

esx_illegal's Issues

Coca error

This error appears when trying to harvest coca plant.

SCRIPT ERROR: @esx_illegal/server/main.lua:58: attempt to index a nil value (local 'xItem')

TriggerServerCallback (@es_extended/server/functions.lua:33)
handler (@es_extended/server/common.lua:88)

Script Error

i downloaded this and everything works great but when i convert my chemicals into drug items i get a weird error. it lets me get the items still no problem tho

Server reported an error. Please help me!

Hello brother, thank you for your drug mission! I like it very much, but there's a problem you need to help solve, as follows: all drugs can't be processed, they can be collected, but they can't be processed! Can you tell me why, my console reports errors such as marijuana:
server / weed. Lua: 24: attempt to call a nil value (field'canswapitem ')
fn(@es_extended/server/functions.lua14)
My es_extended version is relatively new. I don't know if you are, but I hope it can be solved because I like this drug task very much.

having issue with processing

(have only tried weed thus far, love the script!) However, when processing the weed i get 1 away from my max limit that i can carry and it wont process due to being full.

also how can i remove the money wash ticket item? i havent been able to pinpoint it

Line 56 server/main.lua

Typo I am assuming. canCarry is not a statement for pre-limit. I changed it to cb(xPlayer.getInventoryItem(item, 1)) and it works just fine now :)

When processing LSA Error happens then shortly after menu disappears

InvokeNative: execution failed: Argument at index 1 was null.
SCRIPT ERROR: Execution of native 000000002f7a49e6 in script host failed

Is the error spammed in console when the menu is being used.
If needed i can add more data for what you want. But as it is. it's a standard most up to date version of esx_illegal.

Thank you!

Cant harvest DRUGS

The moment i press e on the location/barrels its not doing the animation and after i pressed e once i cant do this anymore do you have any fix for this issue?

No collecting possible

After I installed everything, everything was displayed to me. Unfortunately, harvesting is not possible. The message "Press (Button) ..." appears, but nothing happens afterwards. Why is that?

set inventory limits for the drugs

i am trying to set limits when someone collecting drugs
if xPlayer.canCarryItem('sulfuric_acid', 20) then
but when i am trying to collect , it gives me more than 20 :/

RegisterServerEvent('esx_illegal:pickedUpSulfuricAcid')
AddEventHandler('esx_illegal:pickedUpSulfuricAcid', function()
    local xPlayer = ESX.GetPlayerFromId(source)

    if xPlayer.canCarryItem('sulfuric_acid', 20) then
        xPlayer.addInventoryItem('sulfuric_acid', 1)
    else
        xPlayer.showNotification(_U('sulfuric_acid_inventoryfull'))
    end
end)

possible to sell on streets?

the old drug script i had esx_drugs i linked with stasiek_selldrugs - players could then sell the drugs on the streets to locals, is it possible with this?

No issue , just a question

How can I change the amount , for exemple : for every berrel I only get 1 item of the specified drug , what can I do to make it a bigger amount ?

If it's possible

The whole script works like a charm, no problem at all

Much thanks in advance

How to fix this

This is my error, how to fix this.

SCRIPT ERROR: @esx_society/server/main.lua:334: attempt to index a nil value (local 'store')

ref (@esx_society/server/main.lua:334)
handler (@esx_datastore/server/main.lua:80)
ref (@esx_society/server/main.lua:333)
TriggerServerCallback (@es_extended/server/functions.lua:33)
handler (@es_extended/server/common.lua:88)

sql for esx v1.2

Why is there USE essentialmode; in version for esx 1.2 (USE es_extended)

Can't Pickup

Hi , I installed the script but I can't pick up any drug, please help me : ) thank you

Can't harvest

When I try to harvest, it keeps saying I don't have enough room in my inventory, when I clearly do...my inventory is even empty.

menu issues

before you open a menu, so when you're stood with the option to open a menu in the corner, the ms and ram usage goes through the roof. this is an issue if there's more than one person stood there. This is so high at the license area that i removed the license shop, but now i've noticed this is the same issue where you wash dirty money. when you open the menu the ms drops but just having the menu option where it says press E to open. that part goes crazy. Any chance you could take a look at this

Script Issue

[ script:esx_drugs] SCRIPT ERROR: @esx_drugs/server/heroin.lua:24: attempt to compare nil with number
[ script:esx_drugs] > fn (@es_extended/server/functions.lua:14)

cant pick anything

i cant pick any of the drugs it says harvest weed press e but then it doesnt do anything any help would be much appreciated

Super

Hi man awsome script! Just wondering real quick, is there a way to not pick-up the drugs? Like can i some how enable it to be a circle or could you link me that script :)

Error

Error when processing chemicals
Screenshot_4

Chems don't pickup

Never had an issue with this before, hope someone is around to still possibly address the issue. But here it is~
Capture
This comes up in live console when trying to collect chemicals of any kind.

NEVERMIND, DERP MOMENT, SOLVED

Script ERROR

SCRIPT ERROR: @esx_illegal/server/heroin.lua:24: attempt to call a nil value (field 'canSwapItem')

Enable contant process

Is it possible to add an config option where process is automatic instead of just Pressing E every time ?

Problem with (global 'ESX')

Hi, I have an error with the drugs. this is the error code: I have alredy put all the items in my db

`@esx_illegal/client/coke.lua:141: attempt to index a nil value (global 'ESX')

fn (esx_illegal/client/coke.lua;12)

screen

The error is the same for all the drugs file

Drugs under map

Before changing any locations all plants appear fine. However when the locations are changed weed plant, coke plants and heroin plants move to the new coords but under the map (changing z coords doesn't move them at all ). Chemicals and the other drugs in barrels appear fine after moving.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.