Advertisement
Guest User

[Textdraw] Vehicle's Speed/Fuel/Name

a guest
Oct 31st, 2014
1,228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 3.07 KB | None | 0 0
  1. // Forum Link: forum.sa-mp.com/showthread.php?p=3242295
  2. // By Phoenix
  3. //@ Mhmmd480@Yahoo.Com - Mamad.Venom (Skype)
  4. new Text:Textdraw0[MAX_PLAYERS];
  5. new Text:Textdraw1[MAX_PLAYERS];
  6. new Text:Textdraw2[MAX_PLAYERS];
  7. new Text:Textdraw3[MAX_PLAYERS];
  8. new Text:Textdraw4[MAX_PLAYERS];
  9. new Text:Textdraw5[MAX_PLAYERS];
  10.  
  11. Textdraw0[playerid] = TextDrawCreate(427.000000, 342.450378, "~r~Vehicle: ~w~Greenwood");
  12. TextDrawLetterSize(Textdraw0[playerid], 0.449999, 1.600000);
  13. TextDrawAlignment(Textdraw0[playerid], 1);
  14. TextDrawColor(Textdraw0[playerid], -1);
  15. TextDrawSetShadow(Textdraw0[playerid], 0);
  16. TextDrawSetOutline(Textdraw0[playerid], 1);
  17. TextDrawBackgroundColor(Textdraw0[playerid], 51);
  18. TextDrawFont(Textdraw0[playerid], 1);
  19. TextDrawSetProportional(Textdraw0[playerid], 1);
  20. TextDrawSetSelectable(Textdraw0[playerid], true);
  21.  
  22. Textdraw1[playerid] = TextDrawCreate(632.000000, 343.100006, "usebox");
  23. TextDrawLetterSize(Textdraw1[playerid], 0.000000, 6.092221);
  24. TextDrawTextSize(Textdraw1[playerid], 421.500000, 0.000000);
  25. TextDrawAlignment(Textdraw1[playerid], 1);
  26. TextDrawColor(Textdraw1[playerid], 0);
  27. TextDrawUseBox(Textdraw1[playerid], true);
  28. TextDrawBoxColor(Textdraw1[playerid], 102);
  29. TextDrawSetShadow(Textdraw1[playerid], 0);
  30. TextDrawSetOutline(Textdraw1[playerid], 0);
  31. TextDrawFont(Textdraw1[playerid], 0);
  32.  
  33. Textdraw2[playerid] = TextDrawCreate(460.000000, 380.799987, "~r~Fuel");
  34. TextDrawLetterSize(Textdraw2[playerid], 0.449999, 1.600000);
  35. TextDrawAlignment(Textdraw2[playerid], 2);
  36. TextDrawColor(Textdraw2[playerid], -1);
  37. TextDrawSetShadow(Textdraw2[playerid], 0);
  38. TextDrawSetOutline(Textdraw2[playerid], 1);
  39. TextDrawBackgroundColor(Textdraw2[playerid], 51);
  40. TextDrawFont(Textdraw2[playerid], 3);
  41. TextDrawSetProportional(Textdraw2[playerid], 1);
  42.  
  43. Textdraw3[playerid] = TextDrawCreate(530.500000, 383.019256, "~r~Speed");
  44. TextDrawLetterSize(Textdraw3[playerid], 0.449999, 1.600000);
  45. TextDrawAlignment(Textdraw3[playerid], 2);
  46. TextDrawColor(Textdraw3[playerid], -1);
  47. TextDrawSetShadow(Textdraw3[playerid], 0);
  48. TextDrawSetOutline(Textdraw3[playerid], 1);
  49. TextDrawBackgroundColor(Textdraw3[playerid], 51);
  50. TextDrawFont(Textdraw3[playerid], 3);
  51. TextDrawSetProportional(Textdraw3[playerid], 1);
  52.  
  53. Textdraw4[playerid] = TextDrawCreate(458.500000, 358.399963, "100");
  54. TextDrawLetterSize(Textdraw4[playerid], 0.501000, 2.507205);
  55. TextDrawAlignment(Textdraw4[playerid], 2);
  56. TextDrawColor(Textdraw4[playerid], -1);
  57. TextDrawSetShadow(Textdraw4[playerid], 0);
  58. TextDrawSetOutline(Textdraw4[playerid], 1);
  59. TextDrawBackgroundColor(Textdraw4[playerid], 51);
  60. TextDrawFont(Textdraw4[playerid], 2);
  61. TextDrawSetProportional(Textdraw4[playerid], 1);
  62.  
  63. Textdraw5[playerid] = TextDrawCreate(529.000000, 357.839904, "0");
  64. TextDrawLetterSize(Textdraw5[playerid], 0.500999, 2.507200);
  65. TextDrawAlignment(Textdraw5[playerid], 2);
  66. TextDrawColor(Textdraw5[playerid], -1);
  67. TextDrawSetShadow(Textdraw5[playerid], 0);
  68. TextDrawSetOutline(Textdraw5[playerid], 1);
  69. TextDrawBackgroundColor(Textdraw5[playerid], 51);
  70. TextDrawFont(Textdraw5[playerid], 2);
  71. TextDrawSetProportional(Textdraw5[playerid], 1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement