Guest User

Untitled

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