Code: Select all
test = {A=3}
test:Func = Function() DebugPrint(self.A) EndFunction
test:Func()Code: Select all
Test.Func = Function() Debugprint("test") EndFunctionLike if I would do:
Code: Select all
Function Test:Func()
Debugprint(Self.A)
EndFunction