Posted 09 November 2018 - 01:54 AM
Not sure what's going on here.
The error this code produces is
I understand what attempt to call nil on its own usually means. What's the problem here? I'm trying to apply the same logic but I'm pretty sure my syntax is fine. (Comparing this code directly to the wiki)
Keep in mind.
testImage.nfp DOES exist. It's very real.
local loadScreen = paintutils.loadImage("testImage.nfp")
paintutils.drawImage(loadScreen, 1, 1)
The error this code produces is
paintutils.lua:38: attempt to call nil
I understand what attempt to call nil on its own usually means. What's the problem here? I'm trying to apply the same logic but I'm pretty sure my syntax is fine. (Comparing this code directly to the wiki)
Keep in mind.
testImage.nfp DOES exist. It's very real.