[FilterScript] Random Message System
#1

Random Message System


What That?
This Filterscript say to all player a random message , you can edit the message

Bugs?
PM me or Reply Here !

Download :

Pastebin
Reply
#2

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 ?
Reply
#3

sorry i have do it fast ty wait i fix em

-Edited : Link are edited , Ty So much
Reply
#4

Put it into one timer only.
Reply
#5

you left the #endif in it
Reply
#6

It's simple
Anyways nice as a newbie scripter
Reply
#7

Quote:
Originally Posted by Team_PRO
Посмотреть сообщение
Put it into one timer only.
Change time to what you want
SetTimer("message1",30000,false);
The 30000 are time you can edit to 1
SetTimer("message1",1,false);
Reply
#8

Dude 30000ms = 30 sec it is too long change by 5000 or 3000
and 1 is too fast and not work
Reply
#9

Quote:
Originally Posted by ScRipTerZ
Посмотреть сообщение
Dude 30000ms = 30 sec it is too long change by 5000 or 3000
and 1 is too fast and not work
x)) you can change it
PHP код:
SetTimer("message1",5000,false); 
Reply
#10

I... don't like it. It's bad and poorly programmed.
Reply
#11

Quote:
Originally Posted by Biesmen
View Post
I... don't like it. It's bad and poorly programmed.
Sorry it my First FilterScript
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)