VORPCORE / vorp_weaponsv2

vorp_weaponsv2 aka syn weapons
9 stars 32 forks source link

error on update. #21

Closed Andyauk closed 2 years ago

Andyauk commented 2 years ago
[script:vorp_weaponsv] SCRIPT ERROR: @vorp_weaponsv2/server/server.lua:179: bad argument #1 to 'pairs' (table expected, got nil)
[script:vorp_weaponsv] > fn (@vorp_weaponsv2/server/server.lua:179)
Andyauk commented 2 years ago

seems to be this, for k,v in pairs(Config.ammo) do

outsider31000 commented 2 years ago

Try now

Andyauk commented 2 years ago

Try now

the issue of configs are fixed, but the pairs one isn't. I cant work out what it is.

[script:vorp_weaponsv] SCRIPT ERROR: @vorp_weaponsv2/server/server.lua:179: bad argument #1 to 'pairs' (table expected, got nil)
[script:vorp_weaponsv] > fn (@vorp_weaponsv2/server/server.lua:179)