Posts: 3,004
Threads: 12
Joined: May 2011
pawn Код:
#define FILTERSCRIPT
#if defined FILTERSCRIPT
#define COLOR_DARKBLUE 0x00008BFF
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print("Random Message System By SkillNasr ");
print("--------------------------------------\n");
SetTimer("message1",30000,false);
return 1;
}
#endif
The "define" "if defined" is useless, also if you don't define it, the compiler will return errors for the colors because you define them only if FILTERSCRIPT is defined
Nevertheless, why not pack it into one repeating timer ?
Posts: 104
Threads: 14
Joined: May 2013
Reputation:
0
sorry i have do it fast ty wait i fix em
-Edited : Link are edited , Ty So much
Posts: 1,839
Threads: 136
Joined: Aug 2012
Reputation:
0
Put it into one timer only.
Posts: 3,004
Threads: 12
Joined: May 2011
you left the #endif in it
Posts: 148
Threads: 1
Joined: Jun 2014
It's simple
Anyways nice as a newbie scripter
Posts: 42
Threads: 7
Joined: Jan 2014
Reputation:
0
Dude 30000ms = 30 sec it is too long change by 5000 or 3000
and 1 is too fast and not work
Posts: 1,057
Threads: 90
Joined: May 2009
Reputation:
0
I... don't like it. It's bad and poorly programmed.