Hey guys,
I'm not sure how can I do something like "MyAddon:Function()...",
Should I make a table called MyAddon and add functions like "MyAddon:Test()"?
Thanks in Advance!
[QUOTE=Pwned231;52403219]
Should I make a table called MyAddon and add functions like "MyAddon:Test()"?
[/QUOTE]
Yes. That's exactly how it is done.
However, you should use MyAddon.FunctionName unless you need to use [B]self[/B].
[QUOTE=JasonMan34;52403420]Yes. That's exactly how it is done.
However, you should use MyAddon.FunctionName unless you need to use [B]self[/B].[/QUOTE]
Thanks for the info!
Sorry, you need to Log In to post a reply to this thread.