Advertisement
AlexOss

Untitled

Jan 23rd, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.84 KB | None | 0 0
  1. function ShowDealershipTextdraws(playerid) {
  2. new szText[1024];
  3. if(InDealer[playerid] == 1) {
  4. if(GetPlayerCash(playerid) >= DSModels[SelectedCar[playerid][DealerID[playerid]]][dPrice]) format(szText, sizeof(szText), "~y~Vehicle %d~w~~h~~n~Model: %s~n~Viteza: %d km/h~n~Price: ~g~$%s~w~~h~~n~Stock: %d", DealerID[playerid], aVehicleNames[GetVehicleModel(DealerCar[playerid])-400], DSModels[SelectedCar[playerid][DealerID[playerid]]][dMaxSpeed], FormatNumber(DSModels[SelectedCar[playerid][DealerID[playerid]]][dPrice]), DSModels[SelectedCar[playerid][DealerID[playerid]]][dStock]);
  5. else if(GetPlayerCash(playerid) < DSModels[SelectedCar[playerid][DealerID[playerid]]][dPrice]) format(szText, sizeof(szText), "~y~Vehicle %d~w~~h~~n~Model: %s~n~Viteza: %d km/h~n~Price: ~r~$%s~w~~h~~n~Stock: %d", DealerID[playerid], aVehicleNames[GetVehicleModel(DealerCar[playerid])-400], DSModels[SelectedCar[playerid][DealerID[playerid]]][dMaxSpeed], FormatNumber(DSModels[SelectedCar[playerid][DealerID[playerid]]][dPrice]), DSModels[SelectedCar[playerid][DealerID[playerid]]][dStock]);
  6. }
  7. PlayerTextDrawSetString(playerid, InfoDS, szText);
  8. PlayerTextDrawShow(playerid, InfoDS);
  9. PlayerTextDrawShow(playerid, MainColor), PlayerTextDrawShow(playerid, SecColor),
  10. PlayerTextDrawShow(playerid, NextColorMain), PlayerTextDrawShow(playerid, BackColorMain), PlayerTextDrawShow(playerid, NextColorSec),
  11. PlayerTextDrawShow(playerid, BackColorSec);
  12. PlayerTextDrawShow(playerid, RotLeft), PlayerTextDrawShow(playerid, RotRight), PlayerTextDrawShow(playerid, BuyModel), PlayerTextDrawShow(playerid, TestModel),
  13. PlayerTextDrawShow(playerid, ExitDS), PlayerTextDrawShow(playerid, BackCar), PlayerTextDrawShow(playerid, NextCar);
  14. PlayerTextDrawShow(playerid, DSTds[0]);
  15. PlayerTextDrawShow(playerid, DSTds[1]);
  16. PlayerTextDrawShow(playerid, DSTds[2]);
  17. if(PlayerInfo[playerid][pAdmin] >= 6) PlayerTextDrawShow(playerid, DSTds[3]);
  18. PlayerTextDrawShow(playerid, DSTds[4]);
  19. return 1;
  20. }
  21.  
  22. function HideDealershipTextdraws(playerid) {
  23. PlayerTextDrawHide(playerid, InfoDS), PlayerTextDrawHide(playerid, MainColor), PlayerTextDrawHide(playerid, SecColor),
  24. PlayerTextDrawHide(playerid, NextColorMain), PlayerTextDrawHide(playerid, BackColorMain), PlayerTextDrawHide(playerid, NextColorSec),
  25. PlayerTextDrawHide(playerid, BackColorSec), PlayerTextDrawHide(playerid, CarsCategory), PlayerTextDrawHide(playerid, BikesCategory),
  26. PlayerTextDrawHide(playerid, BoatsCategory), PlayerTextDrawHide(playerid, AirCategory), PlayerTextDrawHide(playerid, SpecialCategory),
  27. PlayerTextDrawHide(playerid, RotLeft), PlayerTextDrawHide(playerid, RotRight), PlayerTextDrawHide(playerid, BuyModel), PlayerTextDrawHide(playerid, TestModel),
  28. PlayerTextDrawHide(playerid, ExitDS), PlayerTextDrawHide(playerid, BackCar), PlayerTextDrawHide(playerid, NextCar);
  29. PlayerTextDrawHide(playerid, DSTds[0]);
  30. PlayerTextDrawHide(playerid, DSTds[1]);
  31. PlayerTextDrawHide(playerid, DSTds[2]);
  32. PlayerTextDrawHide(playerid, DSTds[3]);
  33. PlayerTextDrawHide(playerid, DSTds[4]);
  34. return 1;
  35. }
  36.  
  37.  
  38. CMD:buycar(playerid, params[]) return cmd_buyvehicle(playerid, params);
  39. CMD:buyvehicle(playerid,params[]) {
  40. if(PlayerInfo[playerid][pLevel] < 3) return SendClientMessage(playerid, COLOR_GREY, "Nu ai nivel 3!");
  41. if(!PlayerToPoint(3.0,playerid,1449.8494,-2287.2141,13.5469)) return SendClientMessage(playerid, COLOR_GREY, "Nu esti la dealership.");
  42. if(TestingModel[playerid] == 1) return 1;
  43. if(strlen(PlayerInfo[playerid][pPin]) != 0 && PlayerInfo[playerid][pPinLogged] == 0) {
  44. SendClientMessage(playerid, COLOR_GREY, "Nu poti folosi aceasta comanda deoarece nu te-ai autentificat cu codul de securitate.");
  45. SendClientMessage(playerid, COLOR_GREY, "Pentru a te autentifica, foloseste comanda '/loginpin'!");
  46. return 1;
  47. }
  48. if(PlayerInfo[playerid][pWantedLevel] > 0) return SendClientMessage(playerid, -1, "Ai wanted, nu poti folosi aceasta comanda!");
  49. new x=0, dbID[180], szQuery[256];
  50. format(szQuery, sizeof(szQuery), "SELECT * FROM `dsveh`");
  51. new Cache: result = mysql_query(SQL, szQuery);
  52. for(new i, j = cache_get_row_count (); i != j; ++i)
  53. {
  54. cache_get_field_content(i, "ID", dbID);
  55. x++;
  56. SelectedCar[playerid][x] = strval(dbID);
  57. LastDealerCar[playerid] = strval(dbID);
  58. }
  59. cache_delete(result);
  60. TestingModel[playerid] = 0;
  61. TotalDealerCars[playerid] = x;
  62. DealerCarType[playerid] = 1;
  63. InDealer[playerid] = 1;
  64. TogglePlayerControllable(playerid, 0);
  65. SetPlayerVirtualWorld(playerid, playerid+1);
  66. SetPlayerInterior(playerid, 0);
  67. SetPlayerPosEx(playerid, -2329.9380, 185.0620, 37.8267);
  68. DealerID[playerid] = 1;
  69. DealerCarColor1[playerid] = 1;
  70. DealerCarColor2[playerid] = 1;
  71. DealerCarAngle[playerid] = -61.3200;
  72. DealerCar[playerid] = CreateVehicleEx(DSModels[DealerID[playerid]][dModel],-2472.2488, 2235.5156, 4.6536,DealerCarAngle[playerid],DealerCarColor1[playerid],DealerCarColor2[playerid],-1);
  73. SetVehicleVirtualWorld(DealerCar[playerid],playerid+1);
  74. LinkVehicleToInterior(DealerCar[playerid], 0);
  75. PutPlayerInVehicleEx(playerid, DealerCar[playerid], 0);
  76. new string[128];
  77. format(string, sizeof(string), "Color 1: %d~n~Color 2: %d", DealerCarColor1[playerid], DealerCarColor2[playerid]);
  78. PlayerTextDrawSetString(playerid, DSTds[4], string);
  79. PlayerTextDrawShow(playerid, DSTds[4]);
  80. PlayerTextDrawSetPreviewModel(playerid, DSTds[2], DSModels[DealerID[playerid]][dModel]);
  81. PlayerTextDrawSetPreviewModel(playerid, DSTds[2], DSModels[DealerID[playerid]][dModel]);
  82. PlayerTextDrawSetPreviewVehCol(playerid, DSTds[2], DealerCarColor1[playerid], DealerCarColor2[playerid]);
  83. PlayerTextDrawShow(playerid, DSTds[2]);
  84. ShowDealershipTextdraws(playerid);
  85. SelectTextDraw(playerid, 0x2EA1FFFF);
  86. ShowCamera(playerid);
  87. return 1;
  88. }
  89.  
  90.  
  91. ///textdraw
  92. // ------------------------------ Dealership TextDraw ------------------------------ //
  93. // DS
  94. DSTds[0] = CreatePlayerTextDraw(playerid, 545.333435, 241.022277, "Dealership");
  95. PlayerTextDrawLetterSize(playerid, DSTds[0], 0.275000, 1.550222);
  96. PlayerTextDrawTextSize(playerid, DSTds[0], 0.000000, 128.000000);
  97. PlayerTextDrawAlignment(playerid, DSTds[0], 2);
  98. PlayerTextDrawColor(playerid, DSTds[0], -1);
  99. PlayerTextDrawUseBox(playerid, DSTds[0], 1);
  100. PlayerTextDrawBoxColor(playerid, DSTds[0], 199);
  101. PlayerTextDrawSetShadow(playerid, DSTds[0], 0);
  102. PlayerTextDrawSetOutline(playerid, DSTds[0], 1);
  103. PlayerTextDrawBackgroundColor(playerid, DSTds[0], 108);
  104. PlayerTextDrawFont(playerid, DSTds[0], 2);
  105. PlayerTextDrawSetProportional(playerid, DSTds[0], 1);
  106. PlayerTextDrawSetShadow(playerid, DSTds[0], 0);
  107.  
  108. InfoDS = CreatePlayerTextDraw(playerid, 545.333251, 258.859283, "~y~Vehicle %d~w~~h~~n~Model: %s~n~Viteza: %d km/h~n~Price: ~g~$%s~w~~h~~n~Stock: %d");
  109. PlayerTextDrawLetterSize(playerid, InfoDS, 0.265333, 1.081480);
  110. PlayerTextDrawTextSize(playerid, InfoDS, 0.000000, 128.000000);
  111. PlayerTextDrawAlignment(playerid, InfoDS, 2);
  112. PlayerTextDrawColor(playerid, InfoDS, -1);
  113. PlayerTextDrawUseBox(playerid, InfoDS, 1);
  114. PlayerTextDrawBoxColor(playerid, InfoDS, 103);
  115. PlayerTextDrawSetShadow(playerid, InfoDS, 0);
  116. PlayerTextDrawSetOutline(playerid, InfoDS, 1);
  117. PlayerTextDrawBackgroundColor(playerid, InfoDS, 77);
  118. PlayerTextDrawFont(playerid, InfoDS, 1);
  119. PlayerTextDrawSetProportional(playerid, InfoDS, 1);
  120. PlayerTextDrawSetShadow(playerid, InfoDS, 0);
  121.  
  122. DSTds[1] = CreatePlayerTextDraw(playerid, 481.333374, 311.125976, "box");
  123. PlayerTextDrawLetterSize(playerid, DSTds[1], 0.000000, 10.166669);
  124. PlayerTextDrawTextSize(playerid, DSTds[1], 609.000000, 0.000000);
  125. PlayerTextDrawAlignment(playerid, DSTds[1], 1);
  126. PlayerTextDrawColor(playerid, DSTds[1], -1);
  127. PlayerTextDrawUseBox(playerid, DSTds[1], 1);
  128. PlayerTextDrawBoxColor(playerid, DSTds[1], 84);
  129. PlayerTextDrawSetShadow(playerid, DSTds[1], 0);
  130. PlayerTextDrawSetOutline(playerid, DSTds[1], 0);
  131. PlayerTextDrawBackgroundColor(playerid, DSTds[1], 255);
  132. PlayerTextDrawFont(playerid, DSTds[1], 1);
  133. PlayerTextDrawSetProportional(playerid, DSTds[1], 1);
  134. PlayerTextDrawSetShadow(playerid, DSTds[1], 0);
  135.  
  136. DSTds[2] = CreatePlayerTextDraw(playerid, 507.666412, 283.177703, "");
  137. PlayerTextDrawLetterSize(playerid, DSTds[2], 0.000000, 0.000000);
  138. PlayerTextDrawTextSize(playerid, DSTds[2], 84.000000, 94.000000);
  139. PlayerTextDrawAlignment(playerid, DSTds[2], 1);
  140. PlayerTextDrawColor(playerid, DSTds[2], -1);
  141. PlayerTextDrawSetShadow(playerid, DSTds[2], 0);
  142. PlayerTextDrawSetOutline(playerid, DSTds[2], 0);
  143. PlayerTextDrawBackgroundColor(playerid, DSTds[2], 0);
  144. PlayerTextDrawFont(playerid, DSTds[2], 5);
  145. PlayerTextDrawSetProportional(playerid, DSTds[2], 0);
  146. PlayerTextDrawSetShadow(playerid, DSTds[2], 0);
  147. PlayerTextDrawSetPreviewModel(playerid, DSTds[2], 560);
  148. PlayerTextDrawSetPreviewRot(playerid, DSTds[2], 0.000000, 360.000000, 331.000000, 1.136600);
  149. PlayerTextDrawSetPreviewVehCol(playerid, DSTds[2], 1, 1);
  150.  
  151. BackCar = CreatePlayerTextDraw(playerid, 493.333374, 321.755706, "LD_BEAT:left");
  152. PlayerTextDrawLetterSize(playerid, BackCar, 0.000000, 0.000000);
  153. PlayerTextDrawTextSize(playerid, BackCar, 15.000000, 15.000000);
  154. PlayerTextDrawAlignment(playerid, BackCar, 1);
  155. PlayerTextDrawColor(playerid, BackCar, -1);
  156. PlayerTextDrawSetShadow(playerid, BackCar, 0);
  157. PlayerTextDrawSetOutline(playerid, BackCar, 0);
  158. PlayerTextDrawBackgroundColor(playerid, BackCar, 255);
  159. PlayerTextDrawFont(playerid, BackCar, 4);
  160. PlayerTextDrawSetProportional(playerid, BackCar, 0);
  161. PlayerTextDrawSetShadow(playerid, BackCar, 0);
  162. PlayerTextDrawSetSelectable(playerid, BackCar, true);
  163.  
  164. NextCar = CreatePlayerTextDraw(playerid, 580.333129, 321.340850, "LD_BEAT:right");
  165. PlayerTextDrawLetterSize(playerid, NextCar, 0.000000, 0.000000);
  166. PlayerTextDrawTextSize(playerid, NextCar, 15.000000, 15.000000);
  167. PlayerTextDrawAlignment(playerid, NextCar, 1);
  168. PlayerTextDrawColor(playerid, NextCar, -1);
  169. PlayerTextDrawSetShadow(playerid, NextCar, 0);
  170. PlayerTextDrawSetOutline(playerid, NextCar, 0);
  171. PlayerTextDrawBackgroundColor(playerid, NextCar, 255);
  172. PlayerTextDrawFont(playerid, NextCar, 4);
  173. PlayerTextDrawSetProportional(playerid, NextCar, 0);
  174. PlayerTextDrawSetShadow(playerid, NextCar, 0);
  175. PlayerTextDrawSetSelectable(playerid, NextCar, true);
  176.  
  177. BuyModel = CreatePlayerTextDraw(playerid, 483.666839, 406.118530, "buy model");
  178. PlayerTextDrawLetterSize(playerid, BuyModel, 0.313666, 1.322073);
  179. PlayerTextDrawTextSize(playerid, BuyModel, 542.000000, 10.000000);
  180. PlayerTextDrawAlignment(playerid, BuyModel, 1);
  181. PlayerTextDrawColor(playerid, BuyModel, -1);
  182. PlayerTextDrawUseBox(playerid, BuyModel, 1);
  183. PlayerTextDrawBoxColor(playerid, BuyModel, 0);
  184. PlayerTextDrawSetShadow(playerid, BuyModel, 0);
  185. PlayerTextDrawSetOutline(playerid, BuyModel, 1);
  186. PlayerTextDrawBackgroundColor(playerid, BuyModel, 135);
  187. PlayerTextDrawFont(playerid, BuyModel, 3);
  188. PlayerTextDrawSetProportional(playerid, BuyModel, 1);
  189. PlayerTextDrawSetShadow(playerid, BuyModel, 0);
  190. PlayerTextDrawSetSelectable(playerid, BuyModel, true);
  191.  
  192. TestModel = CreatePlayerTextDraw(playerid, 546.333496, 406.118560, "test drive");
  193. PlayerTextDrawLetterSize(playerid, TestModel, 0.313666, 1.322073);
  194. PlayerTextDrawTextSize(playerid, TestModel, 607.000000, 10.000000);
  195. PlayerTextDrawAlignment(playerid, TestModel, 1);
  196. PlayerTextDrawColor(playerid, TestModel, -1);
  197. PlayerTextDrawUseBox(playerid, TestModel, 1);
  198. PlayerTextDrawBoxColor(playerid, TestModel, 0);
  199. PlayerTextDrawSetShadow(playerid, TestModel, 0);
  200. PlayerTextDrawSetOutline(playerid, TestModel, 1);
  201. PlayerTextDrawBackgroundColor(playerid, TestModel, 135);
  202. PlayerTextDrawFont(playerid, TestModel, 3);
  203. PlayerTextDrawSetProportional(playerid, TestModel, 1);
  204. PlayerTextDrawSetShadow(playerid, TestModel, 0);
  205. PlayerTextDrawSetSelectable(playerid, TestModel, true);
  206.  
  207. DSTds[3] = CreatePlayerTextDraw(playerid, 546.666625, 342.651733, "edit vehicle (admin)");
  208. PlayerTextDrawLetterSize(playerid, DSTds[3], 0.156333, 1.040000);
  209. PlayerTextDrawTextSize(playerid, DSTds[3], 10.000000, 77.000000);
  210. PlayerTextDrawAlignment(playerid, DSTds[3], 2);
  211. PlayerTextDrawColor(playerid, DSTds[3], -1);
  212. PlayerTextDrawUseBox(playerid, DSTds[3], 1);
  213. PlayerTextDrawBoxColor(playerid, DSTds[3], 0);
  214. PlayerTextDrawSetShadow(playerid, DSTds[3], 0);
  215. PlayerTextDrawSetOutline(playerid, DSTds[3], 1);
  216. PlayerTextDrawBackgroundColor(playerid, DSTds[3], -1378294257);
  217. PlayerTextDrawFont(playerid, DSTds[3], 2);
  218. PlayerTextDrawSetProportional(playerid, DSTds[3], 1);
  219. PlayerTextDrawSetShadow(playerid, DSTds[3], 0);
  220. PlayerTextDrawSetSelectable(playerid, DSTds[3], true);
  221.  
  222. RotLeft = CreatePlayerTextDraw(playerid, 482.333282, 392.844268, "Rot. Left");
  223. PlayerTextDrawLetterSize(playerid, RotLeft, 0.223999, 1.102222);
  224. PlayerTextDrawTextSize(playerid, RotLeft, 518.000000, 10.000000);
  225. PlayerTextDrawAlignment(playerid, RotLeft, 1);
  226. PlayerTextDrawColor(playerid, RotLeft, -1);
  227. PlayerTextDrawSetShadow(playerid, RotLeft, 0);
  228. PlayerTextDrawSetOutline(playerid, RotLeft, 1);
  229. PlayerTextDrawBackgroundColor(playerid, RotLeft, 81);
  230. PlayerTextDrawFont(playerid, RotLeft, 1);
  231. PlayerTextDrawSetProportional(playerid, RotLeft, 1);
  232. PlayerTextDrawSetShadow(playerid, RotLeft, 0);
  233. PlayerTextDrawSetSelectable(playerid, RotLeft, true);
  234.  
  235. RotRight = CreatePlayerTextDraw(playerid, 569.666259, 392.844238, "Rot. Right");
  236. PlayerTextDrawLetterSize(playerid, RotRight, 0.223997, 1.102221);
  237. PlayerTextDrawTextSize(playerid, RotRight, 612.000000, 10.000000);
  238. PlayerTextDrawAlignment(playerid, RotRight, 1);
  239. PlayerTextDrawColor(playerid, RotRight, -1);
  240. PlayerTextDrawUseBox(playerid, RotRight, 1);
  241. PlayerTextDrawBoxColor(playerid, RotRight, 0);
  242. PlayerTextDrawSetShadow(playerid, RotRight, 0);
  243. PlayerTextDrawSetOutline(playerid, RotRight, 1);
  244. PlayerTextDrawBackgroundColor(playerid, RotRight, 81);
  245. PlayerTextDrawFont(playerid, RotRight, 1);
  246. PlayerTextDrawSetProportional(playerid, RotRight, 1);
  247. PlayerTextDrawSetShadow(playerid, RotRight, 0);
  248. PlayerTextDrawSetSelectable(playerid, RotRight, true);
  249.  
  250. DSTds[4] = CreatePlayerTextDraw(playerid, 545.999877, 360.488800, "Color 1: 255");
  251. PlayerTextDrawLetterSize(playerid, DSTds[4], 0.227999, 1.015111);
  252. PlayerTextDrawAlignment(playerid, DSTds[4], 2);
  253. PlayerTextDrawColor(playerid, DSTds[4], -1);
  254. PlayerTextDrawSetShadow(playerid, DSTds[4], 0);
  255. PlayerTextDrawSetOutline(playerid, DSTds[4], 1);
  256. PlayerTextDrawBackgroundColor(playerid, DSTds[4], 81);
  257. PlayerTextDrawFont(playerid, DSTds[4], 1);
  258. PlayerTextDrawSetProportional(playerid, DSTds[4], 1);
  259. PlayerTextDrawSetShadow(playerid, DSTds[4], 0);
  260.  
  261. BackColorMain = CreatePlayerTextDraw(playerid, 512.333312, 359.659088, "<");
  262. PlayerTextDrawLetterSize(playerid, BackColorMain, 0.261666, 1.156147);
  263. PlayerTextDrawTextSize(playerid, BackColorMain, 530.000000, 5.000000);
  264. PlayerTextDrawAlignment(playerid, BackColorMain, 1);
  265. PlayerTextDrawColor(playerid, BackColorMain, -1);
  266. PlayerTextDrawSetShadow(playerid, BackColorMain, 0);
  267. PlayerTextDrawSetOutline(playerid, BackColorMain, 1);
  268. PlayerTextDrawBackgroundColor(playerid, BackColorMain, 73);
  269. PlayerTextDrawFont(playerid, BackColorMain, 1);
  270. PlayerTextDrawSetProportional(playerid, BackColorMain, 1);
  271. PlayerTextDrawSetShadow(playerid, BackColorMain, 0);
  272. PlayerTextDrawSetSelectable(playerid, BackColorMain, true);
  273.  
  274. BackColorSec = CreatePlayerTextDraw(playerid, 512.333312, 371.273925, "<");
  275. PlayerTextDrawLetterSize(playerid, BackColorSec, 0.261666, 1.156147);
  276. PlayerTextDrawTextSize(playerid, BackColorSec, 519.000000, 5.000000);
  277. PlayerTextDrawAlignment(playerid, BackColorSec, 1);
  278. PlayerTextDrawColor(playerid, BackColorSec, -1);
  279. PlayerTextDrawSetShadow(playerid, BackColorSec, 0);
  280. PlayerTextDrawSetOutline(playerid, BackColorSec, 1);
  281. PlayerTextDrawBackgroundColor(playerid, BackColorSec, 73);
  282. PlayerTextDrawFont(playerid, BackColorSec, 1);
  283. PlayerTextDrawSetProportional(playerid, BackColorSec, 1);
  284. PlayerTextDrawSetShadow(playerid, BackColorSec, 0);
  285. PlayerTextDrawSetSelectable(playerid, BackColorSec, true);
  286.  
  287. NextColorMain = CreatePlayerTextDraw(playerid, 573.000000, 359.244262, ">");
  288. PlayerTextDrawLetterSize(playerid, NextColorMain, 0.261666, 1.156147);
  289. PlayerTextDrawTextSize(playerid, NextColorMain, 582.000000, 5.000000);
  290. PlayerTextDrawAlignment(playerid, NextColorMain, 1);
  291. PlayerTextDrawColor(playerid, NextColorMain, -1);
  292. PlayerTextDrawSetShadow(playerid, NextColorMain, 0);
  293. PlayerTextDrawSetOutline(playerid, NextColorMain, 1);
  294. PlayerTextDrawBackgroundColor(playerid, NextColorMain, 73);
  295. PlayerTextDrawFont(playerid, NextColorMain, 1);
  296. PlayerTextDrawSetProportional(playerid, NextColorMain, 1);
  297. PlayerTextDrawSetShadow(playerid, NextColorMain, 0);
  298. PlayerTextDrawSetSelectable(playerid, NextColorMain, true);
  299.  
  300. NextColorSec = CreatePlayerTextDraw(playerid, 574.333312, 370.444366, ">");
  301. PlayerTextDrawLetterSize(playerid, NextColorSec, 0.261666, 1.156147);
  302. PlayerTextDrawTextSize(playerid, NextColorSec, 581.000000, 5.000000);
  303. PlayerTextDrawAlignment(playerid, NextColorSec, 1);
  304. PlayerTextDrawColor(playerid, NextColorSec, -1);
  305. PlayerTextDrawSetShadow(playerid, NextColorSec, 0);
  306. PlayerTextDrawSetOutline(playerid, NextColorSec, 1);
  307. PlayerTextDrawBackgroundColor(playerid, NextColorSec, 73);
  308. PlayerTextDrawFont(playerid, NextColorSec, 1);
  309. PlayerTextDrawSetProportional(playerid, NextColorSec, 1);
  310. PlayerTextDrawSetShadow(playerid, NextColorSec, 0);
  311. PlayerTextDrawSetSelectable(playerid, NextColorSec, true);
  312.  
  313. ExitDS = CreatePlayerTextDraw(playerid, 596.333251, 240.866622, "LD_BEAT:cross");
  314. PlayerTextDrawLetterSize(playerid, ExitDS, 0.000000, 0.000000);
  315. PlayerTextDrawTextSize(playerid, ExitDS, 12.000000, 14.000000);
  316. PlayerTextDrawAlignment(playerid, ExitDS, 1);
  317. PlayerTextDrawColor(playerid, ExitDS, -1);
  318. PlayerTextDrawSetShadow(playerid, ExitDS, 0);
  319. PlayerTextDrawSetOutline(playerid, ExitDS, 0);
  320. PlayerTextDrawBackgroundColor(playerid, ExitDS, 255);
  321. PlayerTextDrawFont(playerid, ExitDS, 4);
  322. PlayerTextDrawSetProportional(playerid, ExitDS, 0);
  323. PlayerTextDrawSetShadow(playerid, ExitDS, 0);
  324. PlayerTextDrawSetSelectable(playerid, ExitDS, true);
  325. //
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement