Closed phantomora closed 3 years ago
Are you using version 1.0 or 2.0 of redemrp_inventory?
If 2.0, I believe the function is now AddItem (note the capital 'A') rather than addItem. I have not yet used the new version so I'm unsure if there are other prerequisites required.
Edit: just notice the issues subject header. Please try the above fix for 2.0 and let me know if it works.
no it didnt work same error SCRIPT ERROR: @RedM-Grave-Robbing/server.lua:21: attempt to call a nil value (field 'AddItem')
ref (@RedM-Grave-Robbing/server.lua:21) handler (@redem_roleplay/server/sv_main.lua:76) handler (@RedM-Grave-Robbing/server.lua:18)
ill look at some other mods that i had to tweek to get them to work with inventory2.0 and see what ive missed
i just got it to work.
need help fixing the error: SCRIPT ERROR: @RedM-Grave-Robbing/server.lua:21: attempt to call a nil value (field 'addItem')