Coder Social home page Coder Social logo

esx_extraitems's Introduction

esx_extraitems's People

Contributors

humantree92 avatar smegheadrimmer avatar tinky124 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

esx_extraitems's Issues

Ammo not saving.

Hi,

When I use my weapon clip / box for my weapon everything works perfectly and the bullets load into the weapon. When I visit the server again, the bullets I loaded into my weapon are gone and are not stored in the database.

I don't know if this is a bugg, otherwise this might be a suggestion. It's quite annoying when you re-enter the server and the bullets are gone.

Sincerely,
Symon

Ammo

Describe the Bug | A Clear & Concise Description of Bug
When I use the weapon clip in the pistol it works but when I use other weapons like the sns pistol, it doesnt recharge it, it only works for few weapons.

Questions
Have you looked through the Closed Topics?:
yes
Have you looked through the Wiki?:
yes
What Version of es_extended are you using?:
es extended v1
Are you using a Pre-Installed ESX?:

Are you using Essentialmode?:
no
Are you using OneSync?:
yes
Linux or Windows?:
Windoes

Set up?

I have installed this and it is running on my server, but i have no clue on how to add the stuff to my shops or anything. Is there a guide on how to set it up?

Bullet Proof

is there any way i could disable when you use the item 'bulletproof' you could disable where the vest shows on your body

Extra Items giving "bad argument #1 to 'unpack' on server console

Describe the Bug | A Clear & Concise Description of Bug

Well, I just installed this extraitems, and performed all the edits to the sql as needed, I go ingame, buy some ammo boxes (using advanced ammo system) and try empty my pistol, just to test, then I drag a Pistol Ammo Box to 'USE' button, my gun still has 0 bullets on it, and Im getting this error on server console:
SCRIPT ERROR: citizen:/scripting/lua/scheduler.lua:831: bad argument #1 to 'unpack' (table expected, got nil)

So, after this, I tested a few more times, with different ammo boxes and different guns according, and it pops up everytime I try to use an ammo box.

--Later Edit: After this, I tested Binoculars, Bullet Proof and Oxygen Mask, and etc, everything seems to throw the same error on server side...

Questions
Have you made changes to anything in client/main.lua or server/main.lua?:
-No, fresh install.
Have you looked through the Closed Topics?:
-Yes, didn't see anything alike.
Have you looked through the Wiki?:
-Yes, already added it like the wiki states.
Are you using a Pre-Installed ESX? If Yes who?:
-No.
Are you using es_extended? If Yes what Version? (Example: 1.2):
-Yes, 1.2 (aka v1 Final)
Are you using Essentialmode?:
-No.
Are you using ExtendedMode?:
-No
Are you using OneSync?:
-Yes, Legacy.
Linux or Windows?:
-Windows, build 3074.

make a shop for items

hi for buy this item we need a shop i use esx_shops but i don't want to make a same blip with other shop like black shop with different blip and people know that this shop is different can you Introduction to me a black shop or help me for this problem
thanks

Ammo / Vape not getting removed from the inventory.

Describe the Bug | A Clear & Concise Description of Bug

When you buy a Ammo Boxes and vape and you have used them there are not getting removed from your inventory. Not sure where to look at for this issue. I believe is a server side issue. Could u please have a look?

Inventory is all the default menu system from ESX it self nothing special.

Questions
Have you made changes to anything besides the config.lua?: No
Have you looked through the Closed Topics?: Yes
Have you looked through the Wiki?: Yes
Are you using a Pre-Installed ESX? If Yes who?: No
Are you using ESX Legacy?: Yes
Are you using OneSync?: Yes
Linux or Windows?: Linux

Ammo not reload weapons

Describe the Bug | A Clear & Concise Description of Bug

Questions
Have you made changes to anything in client/main.lua or server/main.lua?: No
Have you looked through the Closed Topics?: Yes
Have you looked through the Wiki?: Yes
Are you using a Pre-Installed ESX? If Yes who?: No
Are you using es_extended? If Yes what Version? (Example: 1.2): Yes 1.1
Are you using Essentialmode?: Yes
Are you using ExtendedMode?: No
Are you using OneSync?: Yes
Linux or Windows?: Windows

Bug.mov

YES the Weapons have the correct name in the Database.

All other items except the weapons work perfectly

Weapon Box problem with GetweaponFromHash

Describe the Bug | A Clear & Concise Description of Bug

Questions
Have you made changes to anything in client/main.lua or server/main.lua?: No
Have you looked through the Closed Topics?: Yes
Have you looked through the Wiki?: Yes
Are you using a Pre-Installed ESX? If Yes who?: No
Are you using es_extended? If Yes what Version? (Example: 1.2): 1.1
Are you using Essentialmode?: Yes
Are you using ExtendedMode?: no
Are you using OneSync?: no
Linux or Windows?: Windows

Everything working but not the ammo boxes, This is the error im getting in txadmin live console
https://cdn.discordapp.com/attachments/743508421193760819/823147338234724392/unknown.png

Pistol Menu

Describe the Bug | A Clear & Concise Description of Bug
All my other menus work perfectly but when trying to use Pistol Menu it does not work at all it throws a error such as:

SCRIPT ERROR: @esx_extraitems/client/menus.lua:134: attempt to index a nil value (local 'component')

callback (@esx_menu_default/client/main.lua:50)
error during NUI callback menu_submit: citizen/scripting/lua/scheduler.lua:1042: bad argument #1 to 'table_unpack' (table expected, got nil)

Questions
Have you made changes to anything besides the config.lua?: No!
Have you looked through the Closed Topics?: Yes!
Have you looked through the Wiki?: Yes!
Are you using a Pre-Installed ESX? If Yes who?: Plume ESX-Legacy
Are you using ESX Legacy?: Yes!
Are you using OneSync?: Yes!
Linux or Windows?: Linux!

SQL DATA BASE ERROR

image

This error pops up when uploadind the sql.

Questions
Have you looked through the Closed Topics?: yes
Have you looked through the Wiki?: yes
What Version of es_extended are you using?: latest
Are you using a Pre-Installed ESX?: yes
Are you using Essentialmode?: yes
Are you using OneSync?: idk
Linux or Windows?: Windows

How to EUP the Armor for Male/Female

Hello friend I have a question, I would like to have different bulletproof vests for men and women, I use the EUP package and obviously the models do not match, I had to change the code to make it work like this,

`RegisterNetEvent('esx_extraitems:bulletproof')
AddEventHandler('esx_extraitems:bulletproof', function()
local playerPed = GetPlayerPed(-1)

SetPedComponentVariation(playerPed, 9, 27, 5)
AddArmourToPed(playerPed, 100)
SetPedArmour(playerPed, 100)

end)`

the question is the following, how can I make the script differentiate between a male ped and a female ped?

the only difference is that for women it is number 29 instead of 27

Questions
Have you made changes to anything in client/main.lua or server/main.lua?: Yes
Have you looked through the Closed Topics?: Yes
Have you looked through the Wiki?: Yes
Are you using a Pre-Installed ESX? If Yes who?: no
Are you using es_extended? If Yes what Version? (Example: 1.2): no
Are you using Essentialmode?: no
Are you using ExtendedMode?: yes
Are you using OneSync?: yes
Linux or Windows?: Windows

Bulletproof Vest not saving

Its only me or even after the new update the vest is not saving after reconnect?
It wasn't saving also before.

bug defib

Describe the Bug | A Clear & Concise Description of Bug

Questions
Have you made changes to anything in client/main.lua or server/main.lua?:
Have you looked through the Closed Topics?:
Have you looked through the Wiki?:
Are you using a Pre-Installed ESX? If Yes who?:
Are you using es_extended? If Yes what Version? (Example: 1.2): extended v1-final
Are you using Essentialmode?:
Are you using ExtendedMode?:
Are you using OneSync?:
Linux or Windows?: windows


the item "defib" does not revive people if you are not a doctor

Storage Bug

Describe the Bug | A Clear & Concise Description of Bug
When I try to put an item into storage it puts it and it says 1x NULL has been put into Storage
(Breaks the whole server) when I try to take it out of the storage I can't I get this error :

https://gyazo.com/975d71fc3e8f73d0c25ee79491860fcc

https://gyazo.com/1e5532239dd733b5d018c8b7494a66a6

Line : 851 https://prnt.sc/xxfiz9

It happens with Police job taxi job medic job and some gangs.

Questions
Have you made changes to anything in client/main.lua or server/main.lua?: No
Have you looked through the Closed Topics?: Yes
Have you looked through the Wiki?: Yes
Are you using a Pre-Installed ESX? If Yes who?: No
Are you using es_extended? If Yes what Version? (Example: 1.2): 1.1 final
Are you using Essentialmode?:
Are you using ExtendedMode?: +
Are you using OneSync?: Yes
Linux or Windows?: Windows

there are no Ammo items that can be used.

Describe the Bug | A Clear & Concise Description of Bug

Questions
Have you made changes to anything in client/main.lua or server/main.lua?: no
Have you looked through the Closed Topics?: yes
Have you looked through the Wiki?: yes
Are you using a Pre-Installed ESX? If Yes who?: no
Are you using es_extended? If Yes what Version? (Example: 1.2): no
Are you using Essentialmode?: no
Are you using ExtendedMode?: yes
Are you using OneSync?: no
Linux or Windows?:
windows

Please help/adding items to main shop not working

Describe the Bug | A Clear & Concise Description of Bug
i need to add ammo to my esx_shops and i saw that this was one of the ways/only way. i run my
es_extended.sql/esx_shop.sql/esx_extraitems_advammo.sql. after running all that i get a new db called (extended) with all those sql tables in it. problem is that the tables dont get added to my main db (paxsurvival) if that makes sense. ill add a picture so you can see. I know how to edit/add items in phpmyadmin and HeidiSQL. Im thinking my problem is that the items table from extraitems isnt being added to my (paxsurvival) db. There is an items table im my (paxsurvival) db but not the items i want. Ive tried editing my shops with items from both tables but nothing works unless its the table in (paxsurvival) and editing the shop table in (extended) with items from the items table in (extended) and that doesnt do anything. please help me with this im going crazy. I can add someone on discord if need for easier communication if needed.

Questions
Have you made changes to anything in client/main.lua or server/main.lua?: have not currently in new server
Have you looked through the Closed Topics?: yes
Have you looked through the Wiki?: yes
Are you using a Pre-Installed ESX? If Yes who?: yes, cus idk what im doing and everything else im using works fine
Are you using es_extended? If Yes what Version? (Example: 1.2): yes
Are you using Essentialmode?: no
Are you using ExtendedMode?: no
Are you using OneSync?: no
Linux or Windows?: windows

58d3cb863f866b93b7e628353c024e2a

weapon ammo bxo and weapon ammo clip not work...

Describe the Bug | A Clear & Concise Description of Bug
weapon ammo bxo and weapon ammo clip not work...

Questions
Have you looked through the Closed Topics?: yea
Have you looked through the Wiki?: yea
What Version of es_extended are you using?: extendedmode
Are you using a Pre-Installed ESX?: no
Are you using Essentialmode?: yea
Are you using OneSync?: yea
Linux or Windows?: windows

error shop

Error running system event handling function for resource esx_shops: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server/main.lua:43: attempt to index a nil value (field '?')
stack traceback:
server/main.lua:43: in function 'LoadShop'
server/main.lua:10: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:175: in function citizen:/scripting/lua/scheduler.lua:174
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:138

Ammo not filling

Describe the Bug | A Clear & Concise Description of Bug
The ammo is not filling with my weapons, i am using advanced

Questions
Have you made changes to anything in client/main.lua or server/main.lua?:
I took the parts of the script i needed and put them in a separate script because i did not want things that i did not want causing issues
Have you looked through the Closed Topics?:
yes
Have you looked through the Wiki?:
yes
Are you using a Pre-Installed ESX? If Yes who?:
yes zap
Are you using es_extended? If Yes what Version? (Example: 1.2):
1.0 i think
Are you using Essentialmode?:
yes
Are you using OneSync?:
yes

Weaclip not giving ammo

Describe the Bug | A Clear & Concise Description of Bug

Questions
Have you made changes to anything in client/main.lua or server/main.lua?: no
Have you looked through the Closed Topics?: yes i tried the solution did not work
Have you looked through the Wiki?: yes
Are you using a Pre-Installed ESX? If Yes who?: zap hosting
Are you using es_extended? If Yes what Version? (Example: 1.2): 1
Are you using Essentialmode?: yes
Are you using ExtendedMode?: no
Are you using OneSync?: yes
Linux or Windows?: windows
image

Binoculars not working

Describe the Bug | A Clear & Concise Description of Bug
I am trying to use the binoculars and when I try to use them nothing happens. I am using an inventory hud and I was able to buy them and see them in my inventory. I drag them over to use them and the inventory closes but nothing happens. I added binoculars to the "close menu" in the configuration of the inventory hud like I saw in another bug related to ammo.

Any suggestions?

Questions
Have you made changes to anything in client/main.lua or server/main.lua?: No
Have you looked through the Closed Topics?: Yes
Have you looked through the Wiki?: Yes
Are you using a Pre-Installed ESX? If Yes who?: No
Are you using es_extended? If Yes what Version? (Example: 1.2): 1.1
Are you using Essentialmode?: yes version
Are you using ExtendedMode?: 6.2.2
Are you using OneSync?: no
Linux or Windows?: windows

Handcuff in SQL not present in Main.lua server/client

Describe the Bug | A Clear & Concise Description of Bug
Handcuff and handcuff key are in the SQL but not in the main luas
Bug or just some left over sql items?

Questions
Have you made changes to anything in client/main.lua or server/main.lua?: No
Have you looked through the Closed Topics?: Yes
Have you looked through the Wiki?: Yes

Ammo Box and Clip for Different Weapon

Hello, I want to ask something again. before that thx to @HumanTree92 to answer my question about Clip Nil on esx_advancedweaponshop.

So, my question is how to make ammo box and clip for specific weapons or specific types?

unable to load ammo in to a weapon

Describe the Bug | A Clear & Concise Description of Bug
i have been messing around adding scripts as i have needed them going down my list i get to adding in ammo for weapons from extra items while giving my self the ammo to see if the item its self works it does not give any ammo to the pistol

Questions
Have you made changes to anything in client/main.lua or server/main.lua?:
no
Have you looked through the Closed Topics?:
yess
Have you looked through the Wiki?:
yes
Are you using a Pre-Installed ESX? If Yes who?:
no
Are you using es_extended? If Yes what Version? (Example: 1.2):
yes 1.2
Are you using Essentialmode?:
no
Are you using ExtendedMode?:
no
Are you using OneSync?:
yes
Linux or Windows?:
windows

Attempt to call a nil value (field 'GetWeaponFromHash')

Describe the Bug | A Clear & Concise Description of Bug
I get this error when trying to use the ammo to reload a gun.
image

Questions
Have you made changes to anything in client/main.lua or server/main.lua?: No
Have you looked through the Closed Topics?: Yes
Have you looked through the Wiki?: Yes
Are you using a Pre-Installed ESX? If Yes who?: Yes, Ribsosay (ESX 3.5)
Are you using es_extended? If Yes what Version? (Example: 1.2): Yes, Not sure maybe v.2?
Are you using Essentialmode?: Not sure, maybe Yes (bcs there is this folder inside the resource)
Are you using ExtendedMode?: no
Are you using OneSync?: no
Linux or Windows?: Windows

Thank in advance

Weapon Kit

Describe the Bug | A Clear & Concise Description of Bug
When using Weapon Kit, the UI won't open . It only allow me to browse the UI and not exactly getting in.
Capture111111

Questions
Have you made changes to anything besides the config.lua?: Only in client.lua, changed functions which might collide with other functions such as aid kit and bandage
Have you looked through the Closed Topics?: Yes
Have you looked through the Wiki?: Yes
Are you using a Pre-Installed ESX? If Yes who?: No
Are you using ESX Legacy?: No and 1.2, I used your previous version.
Are you using OneSync?: Yes
Linux or Windows?: Yes

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.