Advertisement
Guest User

Random Function (c) by Kaliber

a guest
Mar 18th, 2015
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.49 KB | None | 0 0
  1. stock GetRandom(const id) {
  2.     new string[138];
  3.     switch(id) {
  4.         case 1: string = (!random(2)) ? ("[INFO]Hacking and the use of ilegal mods are strickly not permitted in BTTDM") : ("[INFO]If you see a hacker, ilegal modder, or rule breaker, then use '/report (ID) (Reason)' to report them to our Server Administrator.");
  5.         case 2: {
  6.             switch(random(3)) {
  7.                 case 0: string = "[INFO]If you need to know about the Commands of the Server just Type /commands or /ncmds";
  8.                 case 1: string = "[INFO]If you still have some doubts, Ask an Administrator online about the Commands.!";
  9.                 case 2: string = "[INFO]Remember, Administrator are here to help";
  10.             }
  11.         }
  12.         case 3: {
  13.             switch(random(3)) {
  14.                 case 0: string = "[INFO]Are your original skins boring why not buy more just goto /dshop or do /buyskin";
  15.                 case 1: string = "[INFO]Wanna See All the cool commands being added do /ncmds.";
  16.                 case 2: string = "[INFO]Need Your Caes Quick do /callcar 1/2/3/4/5/6/7/8!";
  17.             }
  18.         }
  19.         case 4: {
  20.             switch(random(3)) {
  21.                 case 0: string = "[INFO]Need Quick Money why not rob someone using /rob <id>.";
  22.                 case 1: string = "[INFO]In Lv need Quick Money goto 4 dragon in the checkpoint and do /robcasino!";
  23.                 case 2: string = "[INFO]At Lsa Sfa Lva Area 51 Why not try /land and /takeoff!";
  24.             }
  25.         }
  26.         case 5: {
  27.             switch(random(3)) {
  28.                 case 0: string = "[INFO]Visit our website and forums at: www.bttdm.com";
  29.                 case 1: string = "[INFO]This is where you will meet and greet all of our regular players and Administrator.";
  30.                 case 2: string = "[INFO]You can also recieve information or ask question here, so pop every once and a while";
  31.             }
  32.         }
  33.         case 6: {
  34.             switch(random(6)) {
  35.                 case 0: string = "[INFO]Like Our Samp Server Stay active add our server ip to your favs";
  36.                 case 1: string = "[INFO]Join Our Samp 3e server add our server ip to your favs";
  37.                 case 2: string = "[INFO]Join Our Samp 3z server add our server ip to your favs";
  38.                 case 3: string = "[INFO]Join Our Samp 3d server add our server ip to your favs";
  39.                 case 4: string = "[INFO]Join Our Samp 3x server add our server ip to your favs";
  40.                 case 5: string = "[INFO]Here at BTTDM we encourage fun and dm have fun make friends and stay active!";
  41.             }
  42.         }
  43.         case 7: string = (!random(2)) ? ("[INFO]BTTDM Scripters are always checking for new things to add to the server.") : ("[INFO]If you have an idea to give them, then post in our suggestions board located on forum at: www.bttdm.com");
  44.         case 8: string = (!random(2)) ? ("[INFO]Our server has a [bT] Clan Represent The Awesome Players of Blacktyrbo's World Of CandyGirl's Fun.") : ("[INFO]You can apply to be in this clan on our forums located at : www.bttdm.com .");
  45.         case 9: {
  46.             switch(random(5)) {
  47.                 case 0: string = "[INFO]Ever Wanted to be a VIP(Very Important Person)";
  48.                 case 1: string = "[INFO]Being able to talk to admins and players with special cmds.";
  49.                 case 2: string = "[INFO]Being able to use admin/vip chat and special cmds like /vsay and /givecar.";
  50.                 case 3: string = "[INFO]To become a VIP (Very Important Person) you must be a good player and donate 10 euros to the server.";
  51.                 case 4: string = "[INFO]Want to become One? Donate Today at www.donate.bttdm.com/ make sure you put www.";
  52.             }
  53.         }
  54.     }
  55.     return string;
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement