khalifakk

Auto Announce System (SAMP)

Aug 20th, 2014
547
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.46 KB | None | 0 0
  1. // Auto Announce System
  2. // Credits: khalifakk
  3. // 2014
  4.  
  5. // Includes
  6. #include <a_samp>
  7. #include <sscanf>
  8.  
  9. public OnFilterScriptInit()
  10. {
  11.   SetTimer("announce",200000, true);
  12.   return 1;
  13. }
  14.  
  15. forward announce(playerid,text[]);
  16. public announce(playerid,text[])
  17. {
  18.         new string[128];
  19.         {
  20.                 GameTextForPlayer(playerid, "~g~Text Text Text", 5001, 6);
  21.                 SendClientMessageToAll(-1, string);
  22.         }
  23.         return 1;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment