Advertisement
Guest User

Untitled

a guest
Oct 25th, 2010
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.58 KB | None | 0 0
  1. #include <a_samp>
  2. public OnFilterScriptInit()
  3. {
  4.     SetTimer("SendRandomMsgToAll", 60 * 1000, 1);
  5.     return 1;
  6. }
  7.  
  8. forward SendRandomMsgToAll();
  9. public SendRandomMsgToAll()
  10. {
  11.     switch(random(4))
  12.     {
  13.         case 0: SendClientMessageToAll(0x00ff00ff, "You're playing on a stupid server! I advise you to leave!");
  14.         case 1: SendClientMessageToAll(0x00ff00ff, "The cake is a lie");
  15.         case 2: SendClientMessageToAll(0x00ff00ff, "If you get caught on cheating you will most probably be banned, so do it unnoticed.");
  16.         case 3: SendClientMessageToAll(0x00ff00ff, "Server closed the connection.");
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement