Guest User

Sistema Mudar Cor do Nick V0.1

a guest
Aug 5th, 2011
1,184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 10.54 KB | None | 0 0
  1. #include <a_samp>
  2. #define FILTERSCRIPT
  3. #if defined FILTERSCRIPT
  4. public OnFilterScriptInit()
  5. {
  6.     print("=====================================");
  7.     print("*                                   *");
  8.     print("*                                   *");
  9.     print("*Criado Totalmente Por: Wellington  *");
  10.     print("*                                   *");
  11.     print("*                                   *");
  12.     print("=====================================");
  13.     return 1;
  14. }
  15.  
  16. public OnFilterScriptExit()
  17. {
  18.     return 1;
  19. }
  20. public OnPlayerConnect(playerid)
  21. {
  22. return 1;
  23. }
  24.  
  25. //========================COMANDOS AKI==========================================
  26. public OnPlayerCommandText(playerid, cmdtext[])
  27. {
  28.     if (strcmp(cmdtext, "/Cornick",true) == 0)
  29.     {
  30.         SendClientMessage(playerid, 0x1E90FFAA ,"============================ CORES ============================");
  31.         SendClientMessage(playerid, 0x00FF7FAA ,"CORES DISPONIVEIS:\n");
  32.         SendClientMessage(playerid, 0xFF0606FF ,">>>>>>>>>>>>{F60000}/Vermelho\n - {21DD00}/Verde\n - {FF6EB4}/Rosa\n - {0000FF}/Azul\n - {FFFFFF}/Branco\n  " );
  33.         SendClientMessage(playerid, 0xFF0606FF ,">>>>>>>>>>>>{9400D3}/Roxo\n - {00F5FF}/Turquesa\n - {1E90FF}/Azul C\n - {FFFF00}/Amarelo\n - {000000}/Preto\n");
  34.         SendClientMessage(playerid, 0x0000FFAA ,">>>>>>>>>>>>{00BFFF}/azul f\n - {CD661D}/chocolate\n - {8968CD}/Roxo M\n - {FF1493}/Rosa p\n - {FFA500}/Laranja\n");
  35.         SendClientMessage(playerid, 0x0000FFAA , "Uso Correto do Comando Γ© EX: /azul , /preto , /verde e assim por Diante");
  36.         SendClientMessage(playerid, 0x1E90FFAA ,"============================ CORES ============================");
  37.         return 1;
  38.             }
  39. //==============================================================================
  40.     if (strcmp(cmdtext, "/azul", true)==0)
  41. {
  42.         SetPlayerColor(playerid, 0x0000FFAA);
  43.         new pname[MAX_PLAYER_NAME];
  44.         new string[256];
  45.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  46.         format(string, sizeof(string), "[INFO:] - %s Resolveu Trocar A Cor Do Seu Nome Para Cor Azul - (/Cornick)", pname);
  47.         SendClientMessageToAll( 0x0000FFAA, string);
  48.         SendClientMessage(playerid, 0xFF0606FF , "Cor do Seu Nick Foi Mudada Com Sucesso Comando Criado Por: Wellington");
  49.         return 1;
  50. }
  51. //==============================================================================
  52.     if (strcmp(cmdtext, "/preto", true)==0)
  53. {
  54.         SetPlayerColor(playerid, 0x00000AA);
  55.         new pname[MAX_PLAYER_NAME];
  56.         new string[256];
  57.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  58.         format(string, sizeof(string), "[INFO:] - %s Resolveu Trocar A Cor Do Seu Nome Para Cor Preto Usando - (/Cornick)", pname);
  59.         SendClientMessageToAll( 0x0000FFAA, string);
  60.         SendClientMessage(playerid, 0xFF0606FF , "[INFO:] Cor do Seu Nick Foi Mudada Com Sucesso Comando Criado Por: Wellington");
  61.         return 1;
  62. }
  63. //==============================================================================
  64.     if (strcmp(cmdtext, "/amarelo", true)==0)
  65. {
  66.         SetPlayerColor(playerid, 0xFFFF00AA);
  67.         new pname[MAX_PLAYER_NAME];
  68.         new string[256];
  69.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  70.         format(string, sizeof(string), "[INFO:] - %s Resolveu Trocar A Cor Do Seu Nome Para Cor Amarela Usando - (/Cornick)", pname);
  71.         SendClientMessageToAll( 0x0000FFAA, string);
  72.         SendClientMessage(playerid, 0xFF0606FF , "[INFO:] Cor do Seu Nick Foi Mudada Com Sucesso Comando Criado Por: Wellington");
  73.         return 1;
  74. }
  75. //==============================================================================
  76.     if (strcmp(cmdtext, "/laranja", true)==0)
  77. {
  78.         SetPlayerColor(playerid, 0xFFA500AA);
  79.         new pname[MAX_PLAYER_NAME];
  80.         new string[256];
  81.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  82.         format(string, sizeof(string), "[INFO:] - %s Resolveu Trocar A Cor Do Seu Nome Para Cor Laranja Usando - (/Cornick)", pname);
  83.         SendClientMessageToAll( 0x0000FFAA, string);
  84.         SendClientMessage(playerid, 0xFF0606FF , "[INFO:] Cor do Seu Nick Foi Mudada Com Sucesso Comando Criado Por: Wellington");
  85.         return 1;
  86. }
  87. //==============================================================================
  88.     if (strcmp(cmdtext, "/rosa", true)==0)
  89. {
  90.         SetPlayerColor(playerid, 0xFF6EB4AA);
  91.         new pname[MAX_PLAYER_NAME];
  92.         new string[256];
  93.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  94.         format(string, sizeof(string), "[INFO:] - %s Resolveu Trocar A Cor Do Seu Nome Para Cor Rosa Usando - (/Cornick)", pname);
  95.         SendClientMessageToAll( 0x0000FFAA, string);
  96.         SendClientMessage(playerid, 0xFF0606FF , "[INFO:] Cor do Seu Nick Foi Mudada Com Sucesso Comando Criado Por: Wellington");
  97.         return 1;
  98. }
  99. //==============================================================================
  100.     if (strcmp(cmdtext, "/verde", true)==0)
  101. {
  102.         SetPlayerColor(playerid, 0x21DD00AA);
  103.         new pname[MAX_PLAYER_NAME];
  104.         new string[256];
  105.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  106.         format(string, sizeof(string), "[INFO:] - %s Resolveu Trocar A Cor Do Seu Nome Para Cor Verde Usando - (/Cornick)", pname);
  107.         SendClientMessageToAll( 0x0000FFAA, string);
  108.         SendClientMessage(playerid, 0xFF0606FF , "[INFO:] Cor do Seu Nick Foi Mudada Com Sucesso Comando Criado Por: Wellington");
  109.         return 1;
  110. }
  111. //==============================================================================
  112.     if (strcmp(cmdtext, "/branco", true)==0)
  113. {
  114.         SetPlayerColor(playerid, 0xFFFFFFAA);
  115.         new pname[MAX_PLAYER_NAME];
  116.         new string[256];
  117.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  118.         format(string, sizeof(string), "[INFO:] - %s Resolveu Trocar A Cor Do Seu Nome Para Cor Branco Usando - (/Cornick)", pname);
  119.         SendClientMessageToAll( 0x0000FFAA, string);
  120.         SendClientMessage(playerid, 0xFF0606FF , "[INFO:] Cor do Seu Nick Foi Mudada Com Sucesso Comando Criado Por: Wellington");
  121.         return 1;
  122. }
  123. //==============================================================================
  124.     if (strcmp(cmdtext, "/vermelho", true)==0)
  125. {
  126.         SetPlayerColor(playerid, 0xF60000AA);
  127.         new pname[MAX_PLAYER_NAME];
  128.         new string[256];
  129.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  130.         format(string, sizeof(string), "[INFO:] - %s Resolveu Trocar A Cor Do Seu Nome Para Cor Vermelho Usando - (/Cornick)", pname);
  131.         SendClientMessageToAll( 0x0000FFAA, string);
  132.         SendClientMessage(playerid, 0xFF0606FF , "[INFO:] Cor do Seu Nick Foi Mudada Com Sucesso Comando Criado Por: Wellington");
  133.         return 1;
  134. }
  135. //==============================================================================
  136.     if (strcmp(cmdtext, "/azul c", true)==0)
  137. {
  138.         SetPlayerColor(playerid, 0x1E90FFAA);
  139.         new pname[MAX_PLAYER_NAME];
  140.         new string[256];
  141.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  142.         format(string, sizeof(string), "[INFO:] - %s Resolveu Trocar A Cor Do Seu Nome Para Cor Azul Claro Usando - (/Cornick)", pname);
  143.         SendClientMessageToAll( 0x0000FFAA, string);
  144.         SendClientMessage(playerid, 0xFF0606FF , "[INFO:] Cor do Seu Nick Foi Mudada Com Sucesso Comando Criado Por: Wellington");
  145.         return 1;
  146. }
  147. //==============================================================================
  148.     if (strcmp(cmdtext, "/roxo", true)==0)
  149. {
  150.         SetPlayerColor(playerid, 0x9400D3AA);
  151.         new pname[MAX_PLAYER_NAME];
  152.         new string[256];
  153.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  154.         format(string, sizeof(string), "[INFO:] - %s Resolveu Trocar A Cor Do Seu Nome Para Cor Roxo Usando - (/Cornick)", pname);
  155.         SendClientMessageToAll( 0x0000FFAA, string);
  156.         SendClientMessage(playerid, 0xFF0606FF , "[INFO:] Cor do Seu Nick Foi Mudada Com Sucesso Comando Criado Por: Wellington");
  157.         return 1;
  158. }
  159. //==============================================================================
  160.     if (strcmp(cmdtext, "/turquesa", true)==0)
  161. {
  162.         SetPlayerColor(playerid, 0x00F5FFAA);
  163.         new pname[MAX_PLAYER_NAME];
  164.         new string[256];
  165.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  166.         format(string, sizeof(string), "[INFO:] - %s Resolveu Trocar A Cor Do Seu Nome Para Cor Turquesa Usando - (/Cornick)", pname);
  167.         SendClientMessageToAll( 0x0000FFAA, string);
  168.         SendClientMessage(playerid, 0xFF0606FF , "[INFO:] Cor do Seu Nick Foi Mudada Com Sucesso Comando Criado Por: Wellington");
  169.         return 1;
  170. }
  171. //==============================================================================
  172.     if (strcmp(cmdtext, "/azul f", true)==0)
  173. {
  174.         SetPlayerColor(playerid, 0x00BFFFAA);
  175.         new pname[MAX_PLAYER_NAME];
  176.         new string[256];
  177.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  178.         format(string, sizeof(string), "[INFO:] - %s Resolveu Trocar A Cor Do Seu Nome Para Cor Azul Forte Usando - (/Cornick)", pname);
  179.         SendClientMessageToAll( 0x0000FFAA, string);
  180.         SendClientMessage(playerid, 0xFF0606FF , "[INFO:] Cor do Seu Nick Foi Mudada Com Sucesso Comando Criado Por: Wellington");
  181.         return 1;
  182. }
  183. //==============================================================================
  184.     if (strcmp(cmdtext, "/chocolate", true)==0)
  185. {
  186.         SetPlayerColor(playerid, 0xCD661DAA);
  187.         new pname[MAX_PLAYER_NAME];
  188.         new string[256];
  189.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  190.         format(string, sizeof(string), "[INFO:] - %s Resolveu Trocar A Cor Do Seu Nome Para Cor Chocolate Usando - (/Cornick)", pname);
  191.         SendClientMessageToAll( 0x0000FFAA, string);
  192.         SendClientMessage(playerid, 0xFF0606FF , "[INFO:] Cor do Seu Nick Foi Mudada Com Sucesso Comando Criado Por: Wellington");
  193.         return 1;
  194. }
  195. //==============================================================================
  196.     if (strcmp(cmdtext, "/Roxo m", true)==0)
  197. {
  198.         SetPlayerColor(playerid, 0x8968CDAA);
  199.         new pname[MAX_PLAYER_NAME];
  200.         new string[256];
  201.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  202.         format(string, sizeof(string), "[INFO:] - %s Resolveu Trocar A Cor Do Seu Nome Para Cor Roxo MΓ©dio Usando - (/Cornick)", pname);
  203.         SendClientMessageToAll( 0x0000FFAA, string);
  204.         SendClientMessage(playerid, 0xFF0606FF , "[INFO:] Cor do Seu Nick Foi Mudada Com Sucesso Comando Criado Por: Wellington");
  205.         return 1;
  206. }
  207. //==============================================================================
  208.     if (strcmp(cmdtext, "/rosa p", true)==0)
  209. {
  210.         SetPlayerColor(playerid, 0xFF1493AA);
  211.         new pname[MAX_PLAYER_NAME];
  212.         new string[256];
  213.         GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
  214.         format(string, sizeof(string), "[INFO:] - %s Resolveu Trocar A Cor Do Seu Nome Para Cor Rosa Perfumado Usando - (/Cornick)", pname);
  215.         SendClientMessageToAll( 0x0000FFAA, string);
  216.         SendClientMessage(playerid, 0xFF0606FF , "[INFO:] Cor do Seu Nick Foi Mudada Com Sucesso Comando Criado Por: Wellington");
  217.         return 1;
  218. }
  219. //==============================================================================
  220.     return 0;
  221. }
  222. //==============================================================================
  223.  
  224. #endif
Advertisement
Add Comment
Please, Sign In to add comment