30.03.2012, 01:19
Includes, are a list of functions/stocks that are called to the server.
Definitions, defines things you use to be basic.
Like.. Say you are using a message over and over again.
#define MESSAGE1 "Message"
Then, on your ClientMessage, you would put "MESSAGE1" instead of your text.
"new" is creating a variable. Like. "new IsInDm[MAX_PLAYERS];" Will create a global variable.
forward, is for a created function, you know, the "public function(playerid) example."
When you create a function, you must forward it. forward function(playerid);
Definitions, defines things you use to be basic.
Like.. Say you are using a message over and over again.
#define MESSAGE1 "Message"
Then, on your ClientMessage, you would put "MESSAGE1" instead of your text.
"new" is creating a variable. Like. "new IsInDm[MAX_PLAYERS];" Will create a global variable.
forward, is for a created function, you know, the "public function(playerid) example."
When you create a function, you must forward it. forward function(playerid);