Guest User

Untitled

a guest
Oct 21st, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.83 KB | None | 0 0
  1. /****************************************
  2. |   Sistema desenvolvido por:   |
  3. |   João Vitor "LinK" Silva        |
  4. ****************************************/
  5.  
  6. // Topo
  7. new Text:Anuncio;
  8.  
  9. // Use isto em seu comando:
  10. TextDrawForAll(tempo, mensagem, sombra, outline);
  11.  
  12. // Final do gamemode
  13. stock TextDrawForAll(tempo, msg[], shadow, outline)
  14. {
  15.     Anuncio = TextDrawCreate(324.000000, 217.000000, msg);
  16.     TextDrawSetString(Anuncio, msg);
  17.     TextDrawFont(Anuncio, 1);
  18.     TextDrawSetOutline(Anuncio, outline);
  19.     TextDrawSetShadow(Anuncio, shadow);
  20.     TextDrawLetterSize(Anuncio, 0.599999, 1.400000);
  21.     TextDrawShowForAll(Anuncio);
  22.     SetTimer("ClearTextDrawAnuncio", tempo, false);
  23.     AparecendoText = true;
  24.     return 1;
  25. }
  26.  
  27. public ClearTextDrawAnuncio()
  28. {
  29.     TextDrawDestroy(Anuncio);
  30.     AparecendoText = false;
  31.     return 1;
  32. }
Add Comment
Please, Sign In to add comment