Guest User

Untitled

a guest
Mar 27th, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.15 KB | None | 0 0
  1. //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-//
  2. //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=VARIABILELE-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-//
  3. //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-//
  4. new euro[MAX_PLAYERS];
  5. new dolari[MAX_PLAYERS];
  6. new liresterline[MAX_PLAYERS];
  7. new euroridicat[MAX_PLAYERS];
  8. new dolariridicat[MAX_PLAYERS];
  9. new liresterlineridicat[MAX_PLAYERS];
  10. //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-//
  11. //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=COMENZILE-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-//
  12. //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-//
  13. if(strcmp(cmd, "/spalabani", true) == 0)
  14. {
  15. if(PlayerToPoint(10.0, playerid,1973.4408,-1560.2175,13.6391))
  16. {
  17. ShowPlayerDialog(playerid,215,DIALOG_STYLE_LIST,"{CCFF00}Spălare bani!Alege valuta:","{00CC33}Euro\nDolar\n{FF0000}Lire sterline","Selecteaza", "Iesire");
  18. }
  19. return 1;
  20. }
  21. if(strcmp(cmd, "/ridicaeuro", true) == 0)
  22. {
  23. if(PlayerToPoint(10.0, playerid,1463.3269,-1470.5194,13.5391))
  24. {
  25. if ( euro [playerid] > 0 )
  26. {
  27. SendClientMessage(playerid, COLOR_LIGHTGREEN, "Ai ridicat cu succes Euro.Dute si spalăi!");
  28. euroridicat[playerid] = 1;
  29. SetPlayerCheckpoint(playerid,1274.9813,-1662.6136,19.7344,5.0);
  30. CP[playerid] = 507;
  31. }
  32. }
  33. return 1;
  34. }
  35. if(strcmp(cmd, "/ridicadolari", true) == 0)
  36. {
  37. if(PlayerToPoint(10.0, playerid,2177.8840,-1599.6604,14.3516))
  38. {
  39. if ( dolari [playerid] > 0 )
  40. {
  41. SendClientMessage(playerid, COLOR_LIGHTGREEN, "Ai ridicat cu succes Dolarii.Dute si spalăi!");
  42. dolariridicat[playerid] = 1;
  43. SetPlayerCheckpoint(playerid,2356.8682,-1990.5067,13.5469,5.0);
  44. CP[playerid] = 508;
  45. }
  46. }
  47. return 1;
  48. }
  49. if(strcmp(cmd, "/ridicalire", true) == 0)
  50. {
  51. if(PlayerToPoint(10.0, playerid,2475.9695,-1750.5554,13.5469))
  52. {
  53. if ( liresterline [playerid] > 0 )
  54. {
  55. SendClientMessage(playerid, COLOR_LIGHTGREEN, "Ai ridicat cu succes Lirele sterline.Dute si spalăi!");
  56. liresterlineridicat[playerid] = 1;
  57. SetPlayerCheckpoint(playerid,1877.8162,-1738.2216,13.3777,5.0);
  58. CP[playerid] = 509;
  59. }
  60. }
  61. return 1;
  62. }
  63. if(strcmp(cmd, "/spalalire", true) == 0)
  64. {
  65. if(PlayerToPoint(10.0, playerid,1877.8162,-1738.2216,13.3777))
  66. {
  67. if ( liresterlineridicat [playerid] > 0 )
  68. {
  69. SendClientMessage(playerid, COLOR_LIGHTGREEN, "Ai spălat Lirele Sterline pentru 15.000$!");
  70. liresterlineridicat[playerid] = 0;
  71. GivePlayerMoney(playerid, 15000);
  72. }
  73. }
  74. return 1;
  75. }
  76. if(strcmp(cmd, "/spaladolari", true) == 0)
  77. {
  78. if(PlayerToPoint(10.0, playerid,2356.8682,-1990.5067,13.5469))
  79. {
  80. if ( dolariridicat [playerid] > 0 )
  81. {
  82. SendClientMessage(playerid, COLOR_LIGHTGREEN, "Ai spălat Dolarii pentru 15.000$!");
  83. dolariridicat[playerid] = 0;
  84. GivePlayerMoney(playerid, 15000);
  85. }
  86. }
  87. return 1;
  88. }
  89. if(strcmp(cmd, "/spalaeuro", true) == 0)
  90. {
  91. if(PlayerToPoint(10.0, playerid,1274.9813,-1662.6136,19.7344))
  92. {
  93. if ( euroridicat [playerid] > 0 )
  94. {
  95. SendClientMessage(playerid, COLOR_LIGHTGREEN, "Ai spălat Euro pentru 15.000$!");
  96. euroridicat[playerid] = 0;
  97. GivePlayerMoney(playerid, 15000);
  98. }
  99. }
  100. return 1;
  101. }
  102. //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-//
  103. //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=DIALOG REPONSE-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-//
  104. //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-//
  105. if(dialogid == 215)
  106. {
  107. if(response)
  108. {
  109. if(listitem == 0)
  110. {
  111. SendClientMessage(playerid, COLOR_LIGHTGREEN, "Ai ales să speli Euro.Dute şi ridică banii!");
  112. euro[playerid] = 1;
  113. SetPlayerCheckpoint(playerid,1463.3269,-1470.5194,13.5391,5.0);
  114. CP[playerid] = 504;
  115. }
  116. if(listitem == 1)
  117. {
  118. SendClientMessage(playerid, COLOR_LIGHTGREEN, "Ai ales să speli Dolari.Dute şi ridică banii!");
  119. dolari[playerid] = 1;
  120. SetPlayerCheckpoint(playerid,2177.8840,-1599.6604,14.3516,5.0);
  121. CP[playerid] = 505;
  122. }
  123. if(listitem == 2)
  124. {
  125. SendClientMessage(playerid, COLOR_LIGHTGREEN, "Ai ales să speli Lire Sterline.Dute şi ridică banii!");
  126. liresterline[playerid] = 1;
  127. SetPlayerCheckpoint(playerid,2475.9695,-1750.5554,13.5469,5.0);
  128. CP[playerid] = 506;
  129. }
  130. }
  131. return 1;
  132. }
  133. return 1;
  134. }
  135. //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-//
  136. //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=PICKUPURILE-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-//
  137. //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-//
  138. AddStaticPickup(1239 , 1, 1973.4408,-1560.2175,13.6391); //j1
  139. AddStaticPickup(1274 , 1, 1463.3269,-1470.5194,13.5391); //j2
  140. AddStaticPickup(1274 , 1, 1274.9813,-1662.6136,19.7344); //j3
  141. AddStaticPickup(1274 , 1, 2177.8840,-1599.6604,14.3516); //j4
  142. AddStaticPickup(1274 , 1, 2356.8682,-1990.5067,13.5469); //j5
  143. AddStaticPickup(1274 , 1, 2475.9695,-1750.5554,13.5469); //j6
  144. AddStaticPickup(1274 , 1, 1877.8162,-1738.2216,13.3777); //j7
  145. //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-//
  146. //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=3D TEXT LABEL-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-//
  147. //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-//
  148. Create3DTextLabel("{D2611A}Spălare de bani \n{FFFFFF}Scrie {D2611A}/spalabani {FFFFFF}pentru a alege valuta.",COLOR_GRAD4,1973.4408,-1560.2175,13.6391,10.0,0);
  149. Create3DTextLabel("{D2611A}Spălare de bani \n{FFFFFF}Scrie {D2611A}/ridicaeuro {FFFFFF}pentru a ridica.",COLOR_GRAD4,1463.3269,-1470.5194,13.5391,10.0,0);
  150. Create3DTextLabel("{D2611A}Spălare de bani \n{FFFFFF}Scrie {D2611A}/ridicadolari {FFFFFF}pentru a ridica.",COLOR_GRAD4,2177.8840,-1599.6604,14.3516,10.0,0);
  151. Create3DTextLabel("{D2611A}Spălare de bani \n{FFFFFF}Scrie {D2611A}/ridicalire {FFFFFF}pentru a ridica.",COLOR_GRAD4,2475.9695,-1750.5554,13.5469,10.0,0);
  152. Create3DTextLabel("{D2611A}Spălare de bani \n{FFFFFF}Scrie {D2611A}/spalaeuro {FFFFFF}pentru a incarca.",COLOR_GRAD4,1274.9813,-1662.6136,19.7344,10.0,0);
  153. Create3DTextLabel("{D2611A}Spălare de bani \n{FFFFFF}Scrie {D2611A}/spaladolari {FFFFFF}pentru a incarca.",COLOR_GRAD4,2356.8682,-1990.5067,13.5469,10.0,0);
  154. Create3DTextLabel("{D2611A}Spălare de bani \n{FFFFFF}Scrie {D2611A}/spalalire {FFFFFF}pentru a incarca.",COLOR_GRAD4,1877.8162,-1738.2216,13.3777,10.0,0);
Advertisement
Add Comment
Please, Sign In to add comment