Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Filterscript Random Tutorial Messages
- by Shomy Script
- */
- //==== [ INCLUDE ] ====//
- #include <a_samp>
- //==== [ DEFINE ] ====//
- #define SCMTA SendClientMessageToAll
- //==== [ PUBLIC ] ====//
- forward TimerMessageTuT();
- new RandomTuT [] [] =
- {
- "{FF8000}~ {FFFFFF}Random TuT Message 1 {FF8000}~",
- "{FF8000}~ {FFFFFF}Random TuT Message 2 {FF8000}~",
- "{FF8000}~ {FFFFFF}Random TuT Message 3 {FF8000}~",
- "{FF8000}~ {FFFFFF}Random TuT Message 4 {FF8000}~",
- "{FF8000}~ {FFFFFF}Random TuT Message 5 {FF8000}~"
- };
- public OnFilterScriptInit()
- {
- SetTimer("TimerMessageTuT",30000,true);
- return 1;
- }
- public TimerMessageTuT()
- {
- new randTuTMsg = random(sizeof(RandomTuT));
- SCMTA(-1, RandomTuT[randTuTMsg]);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement