24.11.2009, 19:55
Hello.
Its really easy.
If this is in the top of your script:
You need this in your script also:
Heres the top of a new .pwn file
You see if its a filterscript you can cut it down, and make it look like this:
easy as hell
Its really easy.
If this is in the top of your script:
Код:
#if defined FILTERSCRIPT
Код:
#endif
Код:
#include <a_samp> #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Blank Filterscript by your name here"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif
Код:
#include <a_samp> #define FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Blank Filterscript by your name here"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; }