Advertisement
xt3z0ne

XMAS By JohnnyYz

Dec 1st, 2014
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 2.67 KB | None | 0 0
  1. /*
  2. ********************************************************************************
  3.  
  4.                     TextDraw XMAS V2
  5.                     Credits JohnnyYz
  6.                     Web Site www.rss-ro.com
  7.  
  8. ********************************************************************************
  9. */
  10. #include <a_samp>
  11. //==============================================================================
  12. new Text:Tree0, Text:Gifts1, Text:Christmas2;
  13. //==============================================================================
  14. public OnFilterScriptInit()
  15. {
  16.     print("TextDraw XMAS v2");
  17.     print("By JohnnyYz");
  18.     print("www.rss-ro.com");
  19.     // XMAS
  20.     Tree0 = TextDrawCreate(527.200134, 317.333374, "New Textdraw");
  21.     TextDrawLetterSize(Tree0, 0.449999, 1.600000);
  22.     TextDrawTextSize(Tree0, 133.600036, 123.946640);
  23.     TextDrawAlignment(Tree0, 1);
  24.     TextDrawColor(Tree0, -1);
  25.     TextDrawUseBox(Tree0, true);
  26.     TextDrawBoxColor(Tree0, 0);
  27.     TextDrawBackgroundColor(Tree0, 0);
  28.     TextDrawSetShadow(Tree0, 0);
  29.     TextDrawSetOutline(Tree0, 1);
  30.     TextDrawFont(Tree0, 5);
  31.     TextDrawSetProportional(Tree0, 1);
  32.     TextDrawSetPreviewModel(Tree0, 19076);
  33.     TextDrawSetPreviewRot(Tree0, 0.000000, 0.000000, 173.000000, 1.000000);
  34.  
  35.     Gifts1 = TextDrawCreate(570.399963, 408.426696, "New Textdraw");
  36.     TextDrawLetterSize(Gifts1, 0.449999, 1.600000);
  37.     TextDrawTextSize(Gifts1, 48.000000, 44.800056);
  38.     TextDrawAlignment(Gifts1, 1);
  39.     TextDrawColor(Gifts1, -1);
  40.     TextDrawUseBox(Gifts1, true);
  41.     TextDrawBoxColor(Gifts1, 0);
  42.     TextDrawBackgroundColor(Gifts1, 0);
  43.     TextDrawSetShadow(Gifts1, 0);
  44.     TextDrawSetOutline(Gifts1, 1);
  45.     TextDrawFont(Gifts1, 5);
  46.     TextDrawSetProportional(Gifts1, 1);
  47.     TextDrawSetPreviewModel(Gifts1, 19058);
  48.     TextDrawSetPreviewRot(Gifts1, 0.000000, 0.000000, 352.000000, 1.000000);
  49.    
  50.     Christmas2 = TextDrawCreate(548.000000, 428.000000, "Merry Christmas");
  51.     TextDrawBackgroundColor(Christmas2, 255);
  52.     TextDrawFont(Christmas2, 0);
  53.     TextDrawLetterSize(Christmas2, 0.410000, 1.599999);
  54.     TextDrawColor(Christmas2, 16711935);
  55.     TextDrawSetOutline(Christmas2, 1);
  56.     TextDrawSetProportional(Christmas2, 1);
  57.     TextDrawSetSelectable(Christmas2, 0);
  58.     /*for(new i; i < MAX_PLAYERS; i ++)
  59.     {
  60.         if(IsPlayerConnected(i))
  61.         {
  62.             TextDrawShowForPlayer(i, Tree0);
  63.             TextDrawShowForPlayer(i, Gifts1);
  64.             TextDrawShowForPlayer(i, Christmas2);
  65.         }
  66.     }*/
  67.     return 1;
  68. }
  69. //==============================================================================
  70. public OnFilterScriptExit()
  71. {
  72.     return 1;
  73. }
  74. //==============================================================================
  75. public OnPlayerSpawn(playerid)
  76. {
  77.     TextDrawShowForPlayer(playerid, Tree0);
  78.     TextDrawShowForPlayer(playerid, Gifts1);
  79.     TextDrawShowForPlayer(playerid, Christmas2);
  80.     return 1;
  81. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement