New to scripting
#4

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);
Reply


Messages In This Thread
New to scripting - by darkvsoul36 - 30.03.2012, 00:51
Re: New to scripting - by Jonny5 - 30.03.2012, 00:54
Re: New to scripting - by darkvsoul36 - 30.03.2012, 00:56
Re: New to scripting - by -Rebel Son- - 30.03.2012, 01:19

Forum Jump:


Users browsing this thread: 2 Guest(s)