Advertisement
Guest User

Vyos

a guest
Mar 20th, 2009
596
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.27 KB | None | 0 0
  1. //**Include**
  2. #include <a_samp>
  3.  
  4. //#if defined FILTERSCRIPT
  5. //**Culorile**
  6. #define COLOR_BRIGHTRED 0xE60000FF
  7. #define COLOR_BLUE 0x0000FFAA
  8. #define COLOR_GREY 0xAFAFAFAA
  9. #define COLOR_GREEN 0x33AA33AA
  10. #define COLOR_RED 0xAA3333AA
  11. #define COLOR_YELLOW 0xFFFF00AA
  12. #define COLOR_WHITE 0xFFFFFFAA
  13. #define COLOR_PURPLE 0x9900FFAA
  14. #define COLOR_BROWN 0x993300AA
  15. #define COLOR_ORANGE 0xFF9933AA
  16. #define COLOR_CYAN 0x99FFFFAA
  17. #define COLOR_TAN 0xFFFFCCAA
  18. #define COLOR_PINK 0xFF66FFAA
  19. #define COLOR_KHAKI 0x999900AA
  20. #define COLOR_LIME 0x99FF00AA
  21. #define COLOR_BLACK 0x000000AA
  22. #define COLOR_TURQ 0x00A3C0AA
  23. #define COLOR_LIGHTBLUE 0x33CCFFAA
  24. #define COLOR_DARKRED 0xAA993333
  25. #define COLOR_VIOLET 0x9955DEEE
  26.  
  27. public OnFilterScriptInit()
  28. {
  29. print("\n-----------------------------------------");
  30. print(" Culori ");
  31. print(" Copyright � 2009 V&L ");
  32. print("-----------------------------------------\n");
  33. return 1;
  34. }
  35.  
  36. public OnPlayerConnect(playerid)
  37. {
  38. SendClientMessage(playerid,COLOR_YELLOW," ..::Scrie /culori pentru a schimba culoarea::.. ");
  39. SendClientMessage(playerid,COLOR_YELLOW," ..::Creat de [DSK]Vyorel::.. ");
  40. return 1;
  41. }
  42. public OnPlayerCommandText(playerid, cmdtext[])
  43. {
  44. if(strcmp(cmdtext, "/culori", true) == 0) {
  45. SendClientMessage(playerid, COLOR_GREEN,"/red /brightred /blue /grey /green /yellow");
  46. SendClientMessage(playerid, COLOR_YELLOW,"/white /purple /brown /orange /cyan ");
  47. SendClientMessage(playerid, COLOR_YELLOW,"/tan /pink /khanki /lime /black");
  48. SendClientMessage(playerid, COLOR_YELLOW,"/turq /lightblue /darkred /violet");
  49. SendClientMessage(playerid, COLOR_RED,"*** Creat de [DSK]Vyorel ***");
  50. SendClientMessage(playerid, COLOR_BLUE,"*** Forum: www.crimelife.smfnew.com ***");
  51. return 1;
  52. }
  53. if(strcmp("/red", cmdtext, true, 10) == 0)
  54. {
  55. SetPlayerColor(playerid, COLOR_RED);
  56. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  57. return 1;
  58. }
  59.  
  60. if(strcmp("/brightred", cmdtext, true, 10) == 0)
  61. {
  62. SetPlayerColor(playerid, COLOR_BRIGHTRED);
  63. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  64. return 1;
  65. }
  66.  
  67. if(strcmp("/blue", cmdtext, true, 10) == 0)
  68. {
  69. SetPlayerColor(playerid, COLOR_BLUE);
  70. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  71. return 1;
  72. }
  73.  
  74. if(strcmp("/grey", cmdtext, true, 10) == 0)
  75. {
  76. SetPlayerColor(playerid, COLOR_GREY);
  77. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  78. return 1;
  79. }
  80.  
  81. if(strcmp("/green", cmdtext, true, 10) == 0)
  82. {
  83. SetPlayerColor(playerid, COLOR_GREEN);
  84. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  85. return 1;
  86. }
  87.  
  88. if(strcmp("/yellow", cmdtext, true, 10) == 0)
  89. {
  90. SetPlayerColor(playerid, COLOR_YELLOW);
  91. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  92. return 1;
  93. }
  94.  
  95. if(strcmp("/white", cmdtext, true, 10) == 0)
  96. {
  97. SetPlayerColor(playerid, COLOR_WHITE);
  98. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  99. return 1;
  100. }
  101.  
  102. if(strcmp("/purple", cmdtext, true, 10) == 0)
  103. {
  104. SetPlayerColor(playerid, COLOR_PURPLE);
  105. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  106. return 1;
  107. }
  108.  
  109. if(strcmp("/brown", cmdtext, true, 10) == 0)
  110. {
  111. SetPlayerColor(playerid, COLOR_BROWN);
  112. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  113. return 1;
  114. }
  115.  
  116. if(strcmp("/orange", cmdtext, true, 10) == 0)
  117. {
  118. SetPlayerColor(playerid, COLOR_ORANGE);
  119. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  120. return 1;
  121. }
  122.  
  123. if(strcmp("/cyan", cmdtext, true, 10) == 0)
  124. {
  125. SetPlayerColor(playerid, COLOR_CYAN);
  126. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  127. return 1;
  128. }
  129.  
  130. if(strcmp("/tan", cmdtext, true, 10) == 0)
  131. {
  132. SetPlayerColor(playerid, COLOR_TAN);
  133. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  134. return 1;
  135. }
  136.  
  137. if(strcmp("/pink", cmdtext, true, 10) == 0)
  138. {
  139. SetPlayerColor(playerid, COLOR_PINK);
  140. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  141. return 1;
  142. }
  143.  
  144. if(strcmp("/khanki", cmdtext, true, 10) == 0)
  145. {
  146. SetPlayerColor(playerid, COLOR_KHAKI);
  147. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  148. return 1;
  149. }
  150.  
  151. if(strcmp("/lime", cmdtext, true, 10) == 0)
  152. {
  153. SetPlayerColor(playerid, COLOR_LIME);
  154. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  155. return 1;
  156. }
  157.  
  158. if(strcmp("/black", cmdtext, true, 10) == 0)
  159. {
  160. SetPlayerColor(playerid, COLOR_BLACK);
  161. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  162. return 1;
  163. }
  164.  
  165. if(strcmp("/turq", cmdtext, true, 10) == 0)
  166. {
  167. SetPlayerColor(playerid, COLOR_TURQ);
  168. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  169. return 1;
  170. }
  171.  
  172. if(strcmp("/lightblue", cmdtext, true, 10) == 0)
  173. {
  174. SetPlayerColor(playerid, COLOR_LIGHTBLUE);
  175. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  176. return 1;
  177. }
  178.  
  179. if(strcmp("/darkred", cmdtext, true, 10) == 0)
  180. {
  181. SetPlayerColor(playerid, COLOR_DARKRED);
  182. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  183. return 1;
  184. }
  185.  
  186. if(strcmp("/violet", cmdtext, true, 10) == 0)
  187. {
  188. SetPlayerColor(playerid, COLOR_VIOLET);
  189. SendClientMessage(playerid, COLOR_ORANGE,"Ti-ai schimbat culoarea");
  190. return 1;
  191. }
  192. return 0;
  193. }
  194. //#endif
  195. //=======================[ www.crimelife.smfnew.com ]===========================
  196. //-----------------------------[ www.sa-mp.ro ]---------------------------------
  197. //==========================[ No Remove Credits]================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement