[Tutorial] PAWN For Beginners : 1 - Understanding PAWN
#10

Quote:

It has got a compiler which helps you finding errors and warnings which prevents your script working good

No, that is NOT what a compiler is used for. A compiler compiles source code into object code (binary).

Quote:

We will make a gamemode so we should delete these lines :

pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
Why SHOULD you delete comments? They do not affect the code in ANY way. The definition has already been commented, so it's being ignored.

Quote:

and also do NOT forget to delete this :

pawn Код:
#endif
You must delete this even if it is a filterscript.

So what you're saying is, even if we check whether a condition is true using #if, we should not use #endif to end the if statement?

Quote:

Function is a part of scripting. It tells the script what to do in which callback.

These are called instructions, not functions.

PS: These are just a few of the errors in your tutorial.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)