View Single Post
03-03-23, 09:53 AM   #5
Benalish
A Flamescale Wyrmkin
 
Benalish's Avatar
Join Date: Dec 2012
Posts: 123
For the sake of clean code, I loaded the Lua scripts like this
Code:
<OnLoad>
    <Script file="luascript.lua"/>
     self:CreateList(self,total)
</OnLoad>
In this file I have set the custom methods but it keeps giving me this error:

attempt to call method 'CreateList' (a nil value)
  Reply With Quote