Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ______________________________________________________________________
- | _ _ ________ |
- | ( \ ( \ ( _____ \ |
- | | | | | ______ | | \ \ |
- | | |____| | ( ___\ | | \ \ |
- | | ____ | \ \ (_) | | ) ) |
- | | | | | _ \ \ | | / / |
- | | ) | ) ( )__\ \ | |_____/ / |
- | |_/ |_/ \_______/ |_________/ |
- | |
- | [HSD] High Speed Drivers |
- | |
- | [HSD] Company Clan of Programmers, Scripters, and Mappers |
- |______________________________________________________________________|
- http://forum.sa-mp.com/member.php?u=211939
- Updated Date: 10/20/2013 (MM/DD/YYYY)
- Visit Me on SA-MP Forum for More Updates
- Let the Credits !
- • Super Fast System
- • [0] Command(s)
- • Fast Commands to Enable or Disable System
- • http://forum.sa-mp.com/member.php?u=211939 | Visit Me on SA-MP Forum |.
- ~ Do: ~
- - Must have Permission if you want to Share this on another Website.
- - etc.
- ~ Do Not: ~
- - Remove Credits.
- - Change Author Name / Information.
- - Stealing Filterscript.
- - No Permission but Sharing on another Website.
- - etc.
- [ Information ] :-
- Author: SAMProductions
- FilterScript Name: Simple Random Messages System - v1.0
- Updated Date: 10/20/2013 - (MM/DD/YYYY)
- Thanks To:
- SA-MP Team - a_samp
- You - For Supporting and Downloading
- and to Whoever i forgot to Mention
- -: [ End Information ]
- • Do not Remove the Credits.
- • Do not Change the Author Name / Information.
- • Do not Steal the Filterscript.
- • Disrespecting Any of These, You will Die.
- • Disrespecting Any of These, I'll Rape You.
- • Disrespecting Any of These, I'll Report You.
- • Thanks For Using, Enjoy :)
- //----------------------------------------------------------------------------// */
- #include <a_samp> // Credits: SA-MP Team
- new RandomMessagesToSend[][] =
- {
- "Please Visit Our Forum: www.yourwebsiteurl.com",
- "Thank You For Playing (SERVERNAME HERE) !",
- "New in this Server, and Need Help?, /help",
- "Please Read Rules Carefully, /rules",
- "Wanna Know the Player Commands?, /cmds",
- "Wanna Know the Teleports?, /teles",
- "This Server is Hosted by (PLAYERNAME HERE) !",
- "This Server is Scripted by (PLAYERNAME HERE) !",
- "Add Random Message On This Line",
- "Add Random Message On This Line",
- "Add Random Message On This Line"
- };
- public OnFilterScriptInit() // or OnGameModeInit (only if you put this on your Game Mode Script)
- {
- print("<|---------------------------[Loaded]---------------------------|>");
- print(" | Simple Random Messages System v1.0 Made By: SAMProductions |");
- print("<|---------------------------[Loaded]---------------------------|>");
- SetTimer("SendRandomMessageToAll",30000,1); // Timer: 30000 = 30 Seconds (Change This if you want)
- return 1;
- }
- public OnFilterScriptExit()
- {
- print("<|--------------------------[UnLoaded]--------------------------|>");
- print(" | Simple Random Messages System v1.0 Made By: SAMProductions |");
- print("<|--------------------------[UnLoaded]--------------------------|>");
- return 1;
- }
- forward SendRandomMessageToAll();
- public SendRandomMessageToAll()
- {
- SendClientMessageToAll(0x00C2ECFF, RandomMessagesToSend[random(sizeof(RandomMessagesToSend))]);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement