SA-MP Forums Archive
-HELP- Question In PAWNO - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: -HELP- Question In PAWNO (/showthread.php?tid=112587)



-HELP- Question In PAWNO - waim - 08.12.2009

guys when I open new PAWNO I show thats lines :

Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT
I dont know what are they role ? because someGM I show like this

Quote:

#include <a_samp>
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
new gPlayerHG[MAX_PLAYERS];
new hg;
new waim;
new waim1;
new on‌lineplayers = 0;

....


Re: -HELP- Question In PAWNO - Striker_Moe - 08.12.2009

Код:
//#define FILTERSCRIPT
If you remove the //, the script will be defined as a filterscript - means you can use it as a filterscript.


Re: -HELP- Question In PAWNO - waim - 08.12.2009

Quote:
Originally Posted by Mo3
Код:
//#define FILTERSCRIPT
If you remove the //, the script will be defined as a filterscript - means you can use it as a filterscript.
thx ,and others code ?!


Re: -HELP- Question In PAWNO - Striker_Moe - 08.12.2009

Код:
#include <a_samp>
Is needed

Код:
#if defined FILTERSCRIPT
You dont need that.


Re: -HELP- Question In PAWNO - waim - 08.12.2009

I did not understand anything