Closed CaptJack92a closed 9 years ago
Did you define saveVendingMachine?
On Wed, Jul 15, 2015 at 1:27 AM, CaptJack92a notifications@github.com wrote:
[ERROR] gamemodes/nsscifirp/schema/hooks/sv_hooks.lua:44: attempt to call method 'saveVendingMachines' (a nil value)
- unknown - gamemodes/nsscifirp/schema/hooks/sv_hooks.lua:44
- Run - gamemodes/nutscript/gamemode/core/libs/sh_plugin.lua:406
- unknown - gamemodes/nutscript/gamemode/core/sv_data.lua:83
— Reply to this email directly or view it on GitHub https://github.com/Chessnut/NutScript/issues/544.
I haven't messed with most of that part of the script, no. Originally the schema was the super basic version of hl2rp, but the error was new, so I just reported it in case a change in the framework was weird.
Well it seems like you just removed one part of the schema's code without removing another dependent part.
On Wed, Jul 15, 2015 at 8:21 AM, CaptJack92a notifications@github.com wrote:
I haven't messed with most of that part of the script, no. Originally the schema was the super basic version of hl2rp, but the error was new, so I just reported it in case a change in the framework was weird.
— Reply to this email directly or view it on GitHub https://github.com/Chessnut/NutScript/issues/544#issuecomment-121433953.
Well, darn. I haven't done anything with them that I can remember, the code's super simple change wise. It's mainly plugins I make and alter and faction scripts in the schema and hooks and such so certain factions have access to certain things, but I don't recall doing anything like this... Oh well.
[ERROR] gamemodes/nsscifirp/schema/hooks/sv_hooks.lua:44: attempt to call method 'saveVendingMachines' (a nil value)