Advertisement
Guest User

Skin Setter 2.0 by Radi

a guest
Mar 18th, 2012
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 10.22 KB | None | 0 0
  1. // This is a comment
  2. // uncomment the line below if you want to write a filterscript
  3. #define FILTERSCRIPT
  4. #pragma tabsize 0
  5. #include <a_samp>
  6. #define COLOR_GRAD1 0xB4B5B7FF
  7. #define COLOR_GRAD2 0xBFC0C2FF
  8. #define COLOR_GRAD3 0xCBCCCEFF
  9. #define COLOR_GRAD4 0xD8D8D8FF
  10. #define COLOR_GRAD5 0xE3E3E3FF
  11. #define COLOR_GRAD6 0xF0F0F0FF
  12. #define COLOR_GREY 0xAFAFAFAA
  13. #define COLOR_GREEN 0x9EC73DAA
  14. #define COLOR_GROVE 0x00FF00FF
  15. #define COLOR_RED 0xAA3333AA
  16. #define COLOR_COOLRED 0xB35959AA
  17. #define COLOR_ORANGE 0xFF9900AA
  18. #define COLOR_PINK 0xFF66FFAA
  19. #define COLOR_DARKRED 0x660000AA
  20. #define COLOR_BRIGHTRED 0xFF0000AA
  21. #define COLOR_INDIGO 0x4B00B0AA
  22. #define COLOR_VIOLET 0x9955DEEE
  23. #define COLOR_GRAYWHITE 0xEEEEFFC4
  24. #define COLOR_LIGHTNEUTRALBLUE 0xabcdef66
  25. #define COLOR_GREENISHGOLD 0xCCFFDD56
  26. #define COLOR_LIGHTBLUEGREEN 0x0FFDD349
  27. #define COLOR_NEUTRALBLUE 0xABCDEF01
  28. #define COLOR_LIGHTCYAN 0xAAFFCC33
  29. #define COLOR_LEMON 0xDDDD2357
  30. #define COLOR_LIGHTRED 0xFF6347AA
  31. #define COLOR_LIGHTBLUE 0x33CCFFAA
  32. #define COLOR_LIGHTGREEN 0x9ACD32AA
  33. #define COLOR_YELLOW 0xDABB3EAA
  34. #define COLOR_YELLOW2 0xF5DEB3AA
  35. #define COLOR_WHITE 0xFFFFFFAA
  36. #define COLOR_FADE1 0xE6E6E6E6
  37. #define COLOR_FADE2 0xC8C8C8C8
  38. #define COLOR_FADE3 0xAAAAAAAA
  39. #define COLOR_FADE4 0x8C8C8C8C
  40. #define COLOR_FADE5 0x6E6E6E6E
  41. #define COLOR_PURPLE 0xC2A2DAAA
  42. #define COLOR_CHAT1 0xF9B7FFAA
  43. #define COLOR_CHAT2 0xE6A9ECAA
  44. #define COLOR_CHAT3 0xC38EC7AA
  45. #define COLOR_CHAT4 0xD2B9D3AA
  46. #define COLOR_CHAT5 0xC6AEC7AA
  47. #define COLOR_ALLDEPT 0xFF8282AA
  48. #define COLOR_NEWS 0x458E1DAA
  49. #if defined FILTERSCRIPT
  50.  
  51. public OnFilterScriptInit()
  52. {
  53.     print("\n--------------------------------------");
  54.     print(" Skin Setter by Radi");
  55.     print("--------------------------------------\n");
  56.     return 1;
  57. }
  58.  
  59. public OnFilterScriptExit()
  60. {
  61.     return 1;
  62. }
  63.  
  64. #else
  65.  
  66. main()
  67. {
  68.     print("\n----------------------------------");
  69.     print(" Blank Gamemode by your name here");
  70.     print("----------------------------------\n");
  71. }
  72.  
  73. #endif
  74.  
  75. public OnGameModeInit()
  76. {
  77.     // Don't use these lines if it's a filterscript
  78.     SetGameModeText("Blank Script");
  79.     AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  80.     return 1;
  81. }
  82.  
  83. public OnGameModeExit()
  84. {
  85.     return 1;
  86. }
  87.  
  88. public OnPlayerRequestClass(playerid, classid)
  89. {
  90.     SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  91.     SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  92.     SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  93.     return 1;
  94. }
  95.  
  96. public OnPlayerConnect(playerid)
  97. {
  98.     return 1;
  99. }
  100.  
  101. public OnPlayerDisconnect(playerid, reason)
  102. {
  103.     return 1;
  104. }
  105.  
  106. public OnPlayerSpawn(playerid)
  107. {
  108.     return 1;
  109. }
  110.  
  111. public OnPlayerDeath(playerid, killerid, reason)
  112. {
  113.     return 1;
  114. }
  115.  
  116. public OnVehicleSpawn(vehicleid)
  117. {
  118.     return 1;
  119. }
  120.  
  121. public OnVehicleDeath(vehicleid, killerid)
  122. {
  123.     return 1;
  124. }
  125.  
  126. public OnPlayerText(playerid, text[])
  127. {
  128.     return 1;
  129. }
  130.  
  131. public OnPlayerCommandText(playerid, cmdtext[])
  132. {
  133. //================The Skins Commands==============
  134.     if (strcmp("/cj", cmdtext, true, 10) == 0)
  135.     {
  136.         SetPlayerSkin(playerid,0);
  137.         return 1;
  138.     }
  139.  
  140.     if (strcmp("/truth", cmdtext, true, 10) == 0)
  141.     {
  142.         SetPlayerSkin(playerid,1);
  143.         return 1;
  144.     }
  145.    
  146.     if (strcmp("/maccer", cmdtext, true, 10) == 0)
  147.     {
  148.         SetPlayerSkin(playerid,2);
  149.         return 1;
  150.     }
  151.    
  152.     if (strcmp("/andre", cmdtext, true, 10) == 0)
  153.     {
  154.         SetPlayerSkin(playerid,3);
  155.         return 1;
  156.     }
  157.    
  158.     if(strcmp("/bbthin", cmdtext, true, 10) == 0)
  159.     {
  160.         SetPlayerSkin(playerid,4);
  161.         return 1;
  162.     }
  163.    
  164.     if(strcmp("/bb", cmdtext, true, 10) == 0)
  165.     {
  166.         SetPlayerSkin(playerid,5);
  167.         return 1;
  168.     }
  169.    
  170.     if(strcmp("/emmet", cmdtext, true, 10) == 0)
  171.     {
  172.         SetPlayerSkin(playerid,6);
  173.         return 1;
  174.     }
  175.    
  176.     if(strcmp("/male01", cmdtext, true, 10) == 0)
  177.     {
  178.         SetPlayerSkin(playerid,7);
  179.         return 1;
  180.     }
  181.    
  182.     if(strcmp("/janitor", cmdtext, true, 10) == 0)
  183.     {
  184.         SetPlayerSkin(playerid,8);
  185.         return 1;
  186.     }
  187.    
  188.     if(strcmp("/bfori", cmdtext, true, 10) == 0)
  189.     {
  190.         SetPlayerSkin(playerid,9);
  191.         return 1;
  192.     }
  193.    
  194.     if(strcmp("/bfost", cmdtext, true, 10) == 0)
  195.     {
  196.         SetPlayerSkin(playerid,10);
  197.         return 1;
  198.     }
  199.    
  200.     if(strcmp("/vbfycrp", cmdtext, true, 10) == 0)
  201.     {
  202.         SetPlayerSkin(playerid,11);
  203.         return 1;
  204.     }
  205.    
  206.     if(strcmp("/bfyri", cmdtext, true, 10) == 0)
  207.     {
  208.         SetPlayerSkin(playerid,12);
  209.         return 1;
  210.     }
  211.    
  212.     if(strcmp("/bfyst", cmdtext, true, 10) == 0)
  213.     {
  214.         SetPlayerSkin(playerid,13);
  215.         return 1;
  216.     }
  217.    
  218.     if(strcmp("/bmori", cmdtext, true, 10) == 0)
  219.     {
  220.         SetPlayerSkin(playerid,14);
  221.         return 1;
  222.     }
  223.    
  224.     if(strcmp("/bmost", cmdtext, true, 10) == 0)
  225.     {
  226.         SetPlayerSkin(playerid,15);
  227.         return 1;
  228.     }
  229.    
  230.     if(strcmp("/bmyap", cmdtext, true, 10) == 0)
  231.     {
  232.         SetPlayerSkin(playerid,16);
  233.         return 1;
  234.     }
  235.    
  236.     if(strcmp("/bmybu", cmdtext, true, 10) == 0)
  237.     {
  238.         SetPlayerSkin(playerid,17);
  239.         return 1;
  240.     }
  241.    
  242.     if(strcmp("/bmybe", cmdtext, true, 10) == 0)
  243.     {
  244.         SetPlayerSkin(playerid,18);
  245.         return 1;
  246.     }
  247.    
  248.     if(strcmp("/bmydj", cmdtext, true, 10) == 0)
  249.     {
  250.         SetPlayerSkin(playerid,19);
  251.         return 1;
  252.     }
  253.    
  254.     if(strcmp("/bmyri", cmdtext, true, 10) == 0)
  255.     {
  256.         SetPlayerSkin(playerid,20);
  257.         return 1;
  258.     }
  259.    
  260.     if(strcmp("/bmycr", cmdtext, true, 10) == 0)
  261.     {
  262.         SetPlayerSkin(playerid,21);
  263.         return 1;
  264.     }
  265.    
  266.     if(strcmp("/bmyst", cmdtext, true, 10) == 0)
  267.     {
  268.         SetPlayerSkin(playerid,22);
  269.         return 1;
  270.     }
  271.    
  272.     if(strcmp("/wmybmx", cmdtext, true, 10) == 0)
  273.     {
  274.         SetPlayerSkin(playerid,23);
  275.         return 1;
  276.     }
  277.    
  278.     if(strcmp("/wbdyg1", cmdtext, true, 10) == 0)
  279.     {
  280.         SetPlayerSkin(playerid,24);
  281.         return 1;
  282.     }
  283.    
  284.     if(strcmp("/wbdyg2", cmdtext, true, 10) == 0)
  285.     {
  286.         SetPlayerSkin(playerid,25);
  287.         return 1;
  288.     }
  289.    
  290.     if(strcmp("/wmybp", cmdtext, true, 10) == 0)
  291.     {
  292.         SetPlayerSkin(playerid,26);
  293.         return 1;
  294.     }
  295.    
  296.     if(strcmp("/wmycon", cmdtext, true, 10) == 0)
  297.     {
  298.         SetPlayerSkin(playerid,27);
  299.         return 1;
  300.     }
  301.    
  302.     if(strcmp("/bmydrug", cmdtext, true, 10) == 0)
  303.     {
  304.         SetPlayerSkin(playerid,28);
  305.         return 1;
  306.     }
  307.    
  308.     if(strcmp("/wmydrug", cmdtext, true, 10) == 0)
  309.     {
  310.         SetPlayerSkin(playerid,29);
  311.         return 1;
  312.     }
  313.    
  314.     if(strcmp("/hmydrug", cmdtext, true, 10) == 0)
  315.     {
  316.         SetPlayerSkin(playerid,30);
  317.         return 1;
  318.     }
  319.    
  320.     if(strcmp("/dwfolc", cmdtext, true, 10) == 0)
  321.     {
  322.         SetPlayerSkin(playerid,31);
  323.         return 1;
  324.     }
  325.    
  326.     if(strcmp("/dwmolc1", cmdtext, true, 10) == 0)
  327.     {
  328.         SetPlayerSkin(playerid,32);
  329.         return 1;
  330.     }
  331.    
  332.     if(strcmp("/dwmolc2", cmdtext, true, 10) == 0)
  333.     {
  334.         SetPlayerSkin(playerid,33);
  335.         return 1;
  336.     }
  337.    
  338.     if(strcmp("/dwmylc1", cmdtext, true, 10) == 0)
  339.     {
  340.         SetPlayerSkin(playerid,34);
  341.         return 1;
  342.     }
  343.    
  344.     if(strcmp("/hmogar", cmdtext, true, 10) == 0)
  345.     {
  346.         SetPlayerSkin(playerid,35);
  347.         return 1;
  348.     }
  349.    
  350.     if(strcmp("/wmygol1", cmdtext, true, 10) == 0)
  351.     {
  352.         SetPlayerSkin(playerid,36);
  353.         return 1;
  354.     }
  355.    
  356.     if(strcmp("/wmygol2", cmdtext, true, 10) == 0)
  357.     {
  358.         SetPlayerSkin(playerid,37);
  359.         return 1;
  360.     }
  361.    
  362.     if(strcmp("/hfori", cmdtext, true, 10) == 0)
  363.     {
  364.         SetPlayerSkin(playerid,38);
  365.         return 1;
  366.     }
  367.    
  368.     if(strcmp("/hfost", cmdtext, true, 10) == 0)
  369.     {
  370.         SetPlayerSkin(playerid,39);
  371.         return 1;
  372.     }
  373.    
  374.     if(strcmp("/hfyri", cmdtext, true, 10) == 0)
  375.     {
  376.         SetPlayerSkin(playerid,40);
  377.         return 1;
  378.     }
  379.    
  380.     if(strcmp("/hfyst", cmdtext, true, 10) == 0)
  381.     {
  382.         SetPlayerSkin(playerid,41);
  383.         return 1;
  384.     }
  385.    
  386.     if(strcmp("/jethro", cmdtext, true, 10) == 0)
  387.     {
  388.         SetPlayerSkin(playerid,42);
  389.         return 1;
  390.     }
  391.    
  392.     if(strcmp("/hmori", cmdtext, true, 10) == 0)
  393.     {
  394.         SetPlayerSkin(playerid,43);
  395.         return 1;
  396.     }
  397.    
  398.     if(strcmp("/hmost", cmdtext, true, 10) == 0)
  399.     {
  400.         SetPlayerSkin(playerid,44);
  401.         return 1;
  402.     }
  403.    
  404.     if(strcmp("/hmybe", cmdtext, true, 10) == 0)
  405.     {
  406.         SetPlayerSkin(playerid,45);
  407.         return 1;
  408.     }
  409.    
  410.     if(strcmp("/hmyri", cmdtext, true, 10) == 0)
  411.     {
  412.         SetPlayerSkin(playerid,46);
  413.         return 1;
  414.     }
  415.    
  416.     if(strcmp("/hmycr", cmdtext, true, 10) == 0)
  417.     {
  418.         SetPlayerSkin(playerid,47);
  419.         return 1;
  420.     }
  421.    
  422.     if(strcmp("/hmyst", cmdtext, true, 10) == 0)
  423.     {
  424.         SetPlayerSkin(playerid,48);
  425.         return 1;
  426.     }
  427.    
  428.     if(strcmp("/omokung", cmdtext, true, 10) == 0)
  429.     {
  430.         SetPlayerSkin(playerid,49);
  431.         return 1;
  432.     }
  433.    
  434.     if(strcmp("/wmymech", cmdtext, true, 10) == 0)
  435.     {
  436.         SetPlayerSkin(playerid,50);
  437.         return 1;
  438.     }
  439.     return 0;
  440.  
  441. }
  442.  
  443. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  444. {
  445.     return 1;
  446. }
  447.  
  448. public OnPlayerExitVehicle(playerid, vehicleid)
  449. {
  450.     return 1;
  451. }
  452.  
  453. public OnPlayerStateChange(playerid, newstate, oldstate)
  454. {
  455.     return 1;
  456. }
  457.  
  458. public OnPlayerEnterCheckpoint(playerid)
  459. {
  460.     return 1;
  461. }
  462.  
  463. public OnPlayerLeaveCheckpoint(playerid)
  464. {
  465.     return 1;
  466. }
  467.  
  468. public OnPlayerEnterRaceCheckpoint(playerid)
  469. {
  470.     return 1;
  471. }
  472.  
  473. public OnPlayerLeaveRaceCheckpoint(playerid)
  474. {
  475.     return 1;
  476. }
  477.  
  478. public OnRconCommand(cmd[])
  479. {
  480.     return 1;
  481. }
  482.  
  483. public OnPlayerRequestSpawn(playerid)
  484. {
  485.     return 1;
  486. }
  487.  
  488. public OnObjectMoved(objectid)
  489. {
  490.     return 1;
  491. }
  492.  
  493. public OnPlayerObjectMoved(playerid, objectid)
  494. {
  495.     return 1;
  496. }
  497.  
  498. public OnPlayerPickUpPickup(playerid, pickupid)
  499. {
  500.     return 1;
  501. }
  502.  
  503. public OnVehicleMod(playerid, vehicleid, componentid)
  504. {
  505.     return 1;
  506. }
  507.  
  508. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  509. {
  510.     return 1;
  511. }
  512.  
  513. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  514. {
  515.     return 1;
  516. }
  517.  
  518. public OnPlayerSelectedMenuRow(playerid, row)
  519. {
  520.     return 1;
  521. }
  522.  
  523. public OnPlayerExitedMenu(playerid)
  524. {
  525.     return 1;
  526. }
  527.  
  528. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  529. {
  530.     return 1;
  531. }
  532.  
  533. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  534. {
  535.     return 1;
  536. }
  537.  
  538. public OnRconLoginAttempt(ip[], password[], success)
  539. {
  540.     return 1;
  541. }
  542.  
  543. public OnPlayerUpdate(playerid)
  544. {
  545.     return 1;
  546. }
  547.  
  548. public OnPlayerStreamIn(playerid, forplayerid)
  549. {
  550.     return 1;
  551. }
  552.  
  553. public OnPlayerStreamOut(playerid, forplayerid)
  554. {
  555.     return 1;
  556. }
  557.  
  558. public OnVehicleStreamIn(vehicleid, forplayerid)
  559. {
  560.     return 1;
  561. }
  562.  
  563. public OnVehicleStreamOut(vehicleid, forplayerid)
  564. {
  565.     return 1;
  566. }
  567.  
  568. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  569. {
  570.     return 1;
  571. }
  572.  
  573. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  574. {
  575.     return 1;
  576. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement