Advertisement
Guest User

[FS] TextDraw abaixo do Radar

a guest
May 14th, 2012
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.23 KB | None | 0 0
  1. //by Sr_Trojan - Text Draw em baixo do radar !
  2.  
  3. #include <a_samp>
  4.  
  5. #if defined FILTERSCRIPT
  6.  
  7. public OnFilterScriptInit()
  8. {
  9.     print("\n--------------------------------------");
  10.     print(" Text Draw - By Sr_Trojan");
  11.     print("--------------------------------------\n");
  12.  
  13.     TextDrawDetorn = TextDrawCreate(318.000000, 430.000000, "Sr_Trojan - http://vicioemsamp.blogspot.com.br/");
  14.     TextDrawAlignment(TextDrawDetorn, 2);
  15.     TextDrawBackgroundColor(TextDrawDetorn, -16776961);
  16.     TextDrawFont(TextDrawDetorn, 3);
  17.     TextDrawLetterSize(TextDrawDetorn, 0.480000, 1.600000);
  18.     TextDrawColor(TextDrawDetorn, -1);
  19.     TextDrawSetOutline(TextDrawDetorn, 1);
  20.     TextDrawSetProportional(TextDrawDetorn, 1);
  21.     return 1;
  22. }
  23.  
  24. public OnFilterScriptExit()
  25. {
  26.     return 1;
  27. }
  28.  
  29. #else
  30.  
  31. main()
  32. {
  33.     print("\n----------------------------------");
  34.     print(" Text Draw - By Sr_Trojan");
  35.     print("----------------------------------\n");
  36. }
  37.  
  38. #endif
  39.  
  40. public OnPlayerSpawn(playerid)
  41. {
  42.     new Text:TextDrawDetorn;
  43.     TextDrawShowForPlayer(playerid, TextDrawDetorn);
  44.     return 1;
  45. }
  46.  
  47. public OnPlayerDeath(playerid, killerid, reason)
  48. {
  49.     new Text:TextDrawDetorn;
  50.     TextDrawHideForPlayer(playerid,TextDrawDetorn);
  51.     return 1;
  52. }
  53. //Fim !
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement