deskoft

D_Messages.pwn

Jun 15th, 2011
483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. /*
  2. Thanks to the people from the: United States (31%) and Brazil (19%), as this are the countries
  3. with more visits to this include!
  4.  
  5. Graças ao povo da: Estados Unidos (31%) e Brasil (19%), pois são os países
  6. com mais visitas a este incluir!
  7.  
  8. NOTE: The messages in portuguese are translated!
  9. */
  10.  
  11. #include <a_samp> // This is needed to start the functions | Isso é necessário para iniciar as funções
  12.  
  13. new szRandMessages[ ][ ] =
  14. {
  15. "Haitharrdumdum",
  16. "mudmudrrahtiaH"
  17. };
  18.  
  19. public OnGameModeInit( )
  20. {
  21. SetTimer( "random_msg", 13000, true );
  22. return 1;
  23. }
  24.  
  25. forward random_msg( ); public random_msg( )
  26. {
  27. SendClientMessageToAll( 0xFFFFFFAA, random( szRandMessages[ sizeof szRandMessages ) ] );
  28. return 1;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment