Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Mr.Kakashi's Autoannounce Filterscript
- // Make By Mr.Kakashi
- // Copyright 2011@
- // Credits To Kakashi
- //
- //Dont Remove The Credits!
- #include <a_samp>
- #if defined FILTERSCRIPT
- #define RANDOM_MESSAGE_TIMER 60000 //Autoannounce Message 600000 = 1 Minute
- #define COLOR_RED 0xFF0000FF //You Can Change it :D
- new messagenumber = 0;
- new messages[][] =
- {
- "[SERVER]:Dont Know All Commands?,Try /cmds",
- "[SERVER]:Want to change your name color?,Try our new /changemycolour",
- "[SERVER]:Want to Be Admin?, Apply On Forum At www.stunt-planet.co.nr",
- "[SERVER]:Want to Be Xtreme Stunting Member? Remember Just Put [XS] To Your Name or After You Name",
- "[SERVER]:[WP] Clan is The Secondary Clan of XS its not free clan to join the clan you must apply on forum",
- "[SERVER]:Want To Make your own clan? You must sign in/sign up to our permit on forum before making clan.",
- "[SERVER]:Dont Know All Teleport Commands?,Try /tele (/teleports)",
- "[SERVER]:Didnt read rules yet?,Try /rules",
- "[SERVER]:Clan Making Needs A Permit if you make a clan without permit your clan will be banned",
- "[SERVER]:Gamemode Credits To Mr.Kakashi"
- };
- //You can edit the Message if you want :D
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Autoannounce Message By Mr.Kakashi");
- print("--------------------------------------\n");
- SetTimer("SendMessages", RANDOM_MESSAGE_TIMER, true); //Timer
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- forward SendMessages();
- public SendMessages()
- {
- if(messagenumber == sizeof(messages)) messagenumber = 0;
- SendClientMessageToAll(COLOR_RED, messages[messagenumber]);
- messagenumber ++;
- return 1;
- }
- #else
- #endif
Advertisement
Add Comment
Please, Sign In to add comment