Author Topic: [Resource Failed] [Locked]  (Read 1265 times)

Terrible Teaching. Locked now.
« Last Edit: May 31, 2013, 12:29:36 PM by Advanced Bot »

Just a tip, you can't use BBcode in the code tags.

Just a tip, you can't use BBcode in the code tags.
Ah. Didn't see that coming.

Change this:
Remember, always have () at the end and never have a ; at the end of the ()'s or else the function will not exist.

To this:
Remember, when defining a function. Always have () at the end and never have a ; at the end of the ()'s or else the function will not exist.

Or something along those lines..

This really does not explain parenting at all, nor does it explain packages, which are required for parenting.

You should check out the Package/Parent Tutorial which is stickied at the top of this board.

The arguments inside the ()'s represents how the function will act.
The first argument does not have to be %this. It can be many other things, but it cannot be these for a reason:
bool : A bool is a toggle in the function, this could not work as a %this function to replace.
numbers (0-9) : Arguments in the parents of a function cannot have numbers because the variable will not exist.
Mainly the first function of a parent is what the first of the parent is about. The GameConnection represents it as a client. So, %this, is representing the client.
If the function exists, you will need to parent it, but there are two ways of the parent.
Using a compile of most of this, I will give you a code as in example. This is useless, so hopefully you don't use it.

What language is this!?

What language is this!?
I was actually just about to quote that. :o

The arguments inside the ()'s represents how the function will act.
The first argument does not have to be %this. It can be many other things, but it cannot be these for a reason:
bool : A bool is a toggle in the function, this could not work as a %this function to replace.
numbers (0-9) : Arguments in the parents of a function cannot have numbers because the variable will not exist.
Mainly the first function of a parent is what the first of the parent is about. The GameConnection represents it as a client. So, %this, is representing the client.
If the function exists, you will need to parent it, but there are two ways of the parent.
Using a compile of most of this, I will give you a code as in example. This is useless, so hopefully you don't use it.
Wow. Learn to code before you try to teach other people.

Remember, always have () at the end and never have a ; at the end of the ()'s or else the function will not exist.
What.