Advertisement
MarioBlack

Zonetext

Sep 5th, 2020
2,050
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.13 KB | None | 0 0
  1. /*
  2. This file was generated by Nickk's TextDraw editor script
  3. Nickk888 is the author of the NTD script
  4. */
  5.  
  6. #include <a_samp>
  7.  
  8. new Text:PublicTD[1];
  9.  
  10. public OnFilterScriptInit()
  11. {
  12.     PublicTD[0] = TextDrawCreate(463.000000, 167.000000, "Los Santos, Commerce");
  13.     TextDrawFont(PublicTD[0], 1);
  14.     TextDrawLetterSize(PublicTD[0], 0.204167, 1.150000);
  15.     TextDrawTextSize(PublicTD[0], 608.500000, 17.000000);
  16.     TextDrawSetOutline(PublicTD[0], 1);
  17.     TextDrawSetShadow(PublicTD[0], 0);
  18.     TextDrawAlignment(PublicTD[0], 1);
  19.     TextDrawColor(PublicTD[0], -1);
  20.     TextDrawBackgroundColor(PublicTD[0], 255);
  21.     TextDrawBoxColor(PublicTD[0], 1296911763);
  22.     TextDrawUseBox(PublicTD[0], 1);
  23.     TextDrawSetProportional(PublicTD[0], 1);
  24.     TextDrawSetSelectable(PublicTD[0], 0);
  25.  
  26.     return 1;
  27. }
  28.  
  29. public OnFilterScriptExit()
  30. {
  31.     TextDrawDestroy(PublicTD[0]);
  32.     return 1;
  33. }
  34.  
  35. public OnPlayerConnect(playerid)
  36. {
  37.     return 1;
  38. }
  39.  
  40. public OnPlayerDisconnect(playerid, reason)
  41. {
  42.     return 1;
  43. }
  44.  
  45. public OnPlayerCommandText(playerid, cmdtext[])
  46. {
  47.     if(!strcmp(cmdtext, "/tdtest", true))
  48.     {
  49.         TextDrawShowForPlayer(playerid, PublicTD[0]);
  50.         return 1;
  51.     }
  52.     return 0;
  53. }
  54.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement