Guest User

Untitled

a guest
Sep 13th, 2018
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. #define COLOR_RED 0xFFFF0000
  4. new RPoruke [] [] =
  5. {
  6. "Poruka 1",
  7. "Poruka 2",
  8. "Poruka 3"
  9. };
  10. forward SendMSG();
  11. public OnGameModeInit()
  12. {
  13. SetTimer("SendMSG",20000,true);
  14. return 1;
  15. }
  16. public SendMSG()
  17. {
  18. new randMSG = random(sizeof(RPoruke));
  19. SendClientMessageToAll(COLOR_RED,RPoruke[randMSG]);
  20. return 1;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment