Advertisement
Guest User

Clothes for CJ

a guest
Dec 19th, 2010
2,934
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 28.92 KB | None | 0 0
  1. /*
  2. Clothes for CJ / Version 1.0x
  3.  
  4. headgear: 75
  5. glasses: 120
  6. bandanna: 10
  7. masks: 5
  8.  
  9. by Kane_Phoenix
  10. www.german-roleplay.net
  11. */
  12.  
  13. #include <a_samp>
  14. #include "../include/gl_common.inc"
  15.  
  16. public OnFilterScriptInit()
  17. {
  18.     print("\n--------------------------------------");
  19.     print("Clothes by Kane_Phoenix 1.0x");
  20.     print("www.german-roleplay.net");
  21.     print("--------------------------------------\n");
  22.     return 1;
  23. }
  24.  
  25. public OnFilterScriptExit()
  26. {
  27.     return 1;
  28. }
  29.  
  30. public OnPlayerCommandText(playerid, cmdtext[])
  31. {
  32.     new cmd[256];
  33.     new idx;
  34.     cmd = strtok(cmdtext, idx);
  35.     if(strcmp(cmd, "/buyclothes", true) == 0)
  36.     {
  37.         if(GetPlayerSkin(playerid) == 0)
  38.         {
  39.             new listitems[] = "{FFFFFF}1\t{55EE55}headgear\n{FFFFFF}2\t{55EE55}glasses\n{FFFFFF}3\t{55EE55}bandanna\n{FFFFFF}4\t{55EE55}masks\n{FFFFFF}5\t{55EE55}-\n{FFFFFF}6\t{55EE55}remove clothes";
  40.             ShowPlayerDialog(playerid,200,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix:",listitems,"wear","cancel");
  41.             return 1;
  42.         }
  43.         else
  44.         {
  45.             GameTextForPlayer(playerid,"~r~~h~Only with CJ Skin!",3000,3);
  46.             return 1;
  47.         }
  48.     }
  49.     if(strcmp(cmd, "/CJ", true) == 0)
  50.     {
  51.         SetPlayerSkin(playerid,0);
  52.         return 1;
  53.     }
  54.     return 0;
  55. }
  56.  
  57. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  58. {
  59.     if(dialogid == 200)
  60.     {
  61.         if(response)
  62.         {
  63.             if(listitem ==  0)//headgear
  64.             {
  65.                 new listitems[] = "{FFFFFF}1\t{55EE55}Motorcross Helm\n{FFFFFF}2\t{55EE55}Motorradhelm\n{FFFFFF}3\t{55EE55}Motorradhelm\n{FFFFFF}4\t{55EE55}Motorradhelm\n{FFFFFF}5\t{55EE55}Motorradhelm\n{FFFFFF}6\t{55EE55}Boater 1\n{FFFFFF}7\t{55EE55}Boater 2\n{FFFFFF}8\t{55EE55}Boater 3\n{FFFFFF}9\t{55EE55}Bowler 1\n{FFFFFF}10\t{55EE55}Bowler 2\n{FFFFFF}11\t{55EE55}Bowler 3\n{FFFFFF}12\t{55EE55}Bowler 4\n{FFFFFF}13\t{55EE55}Bowler 5\n{55EE55}>>weiter<<";
  66.                 ShowPlayerDialog(playerid,201,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix>headgear 1/6:",listitems,"wear","back");
  67.             }
  68.             if(listitem ==  1)//glasses
  69.             {
  70.                 new listitems[] = "{FFFFFF}1\t{55EE55}Brille 1\n{FFFFFF}2\t{55EE55}Brille 2\n{FFFFFF}3\t{55EE55}Brille 3\n{FFFFFF}4\t{55EE55}Brille 4\n{FFFFFF}5\t{55EE55}Brille 5\n{FFFFFF}6\t{55EE55}Brille 6\n{FFFFFF}7\t{55EE55}Brille 7\n{FFFFFF}8\t{55EE55}Brille 8\n{FFFFFF}9\t{55EE55}Brille 9\n{FFFFFF}10\t{55EE55}Brille 10\n{55EE55}>>weiter<<";
  71.                 ShowPlayerDialog(playerid,202,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix>glasses 1/3:",listitems,"wear","back");
  72.             }
  73.             if(listitem ==  2)//Haltuch
  74.             {
  75.                 new listitems[] = "{FFFFFF}1\t{55EE55}bandanna 1\n{FFFFFF}2\t{55EE55}bandanna 2\n{FFFFFF}3\t{55EE55}bandanna 3\n{FFFFFF}4\t{55EE55}bandanna 4\n{FFFFFF}5\t{55EE55}bandanna 5\n{FFFFFF}6\t{55EE55}bandanna 6\n{FFFFFF}7\t{55EE55}bandanna 7\n{FFFFFF}8\t{55EE55}bandanna 8\n{FFFFFF}9\t{55EE55}bandanna 9\n{FFFFFF}10\t{55EE55}bandanna 10";
  76.                 ShowPlayerDialog(playerid,205,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix>bandanna:",listitems,"wear","back");
  77.             }
  78.             if(listitem ==  3)//masks
  79.             {
  80.                 new listitems[] = "{FFFFFF}1\t{55EE55}Hockeymask1\n{FFFFFF}2\t{55EE55}Hockeymask2\n{FFFFFF}3\t{55EE55}Hockeymask3\n{FFFFFF}4\t{55EE55}Zorromask\n{FFFFFF}5\t{55EE55}Boxing";
  81.                 ShowPlayerDialog(playerid,211,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix>masks:",listitems,"wear","back");
  82.             }
  83.             if(listitem ==  4)//-
  84.             {
  85.                 new listitems[] = "{FFFFFF}1\t{55EE55}deleted\n{FFFFFF}2\t{55EE55}deleted\n{FFFFFF}3\t{55EE55}deleted\n{FFFFFF}4\t{55EE55}deleted\n{FFFFFF}5\t{55EE55}deleted";
  86.                 ShowPlayerDialog(playerid,213,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix>deleted:",listitems,"wear","back");
  87.             }
  88.             if(listitem ==  5)//remove clothes
  89.             {
  90.                 new zz=0;
  91.                 while(zz!=MAX_PLAYER_ATTACHED_OBJECTS)
  92.                 {
  93.                     if(IsPlayerAttachedObjectSlotUsed(playerid, zz))
  94.                     {
  95.                         RemovePlayerAttachedObject(playerid, zz);
  96.                     }
  97.                     zz++;
  98.                 }
  99.             }
  100.         }
  101.         return 1;
  102.     }
  103.     if(dialogid == 201)
  104.     {
  105.         if(response)
  106.         {
  107.             if(listitem ==  0)//MotorcrossHelmet
  108.             {
  109.                 SetPlayerAttachedObject(playerid, 1, 18976, 2, 0.09, 0.03, 0, 88, 75, 0);
  110.             }
  111.             if(listitem ==  1)//MotorcycleHelmet1
  112.             {
  113.                 SetPlayerAttachedObject(playerid, 1, 18645, 2, 0.07, 0, 0, 88, 75, 0);
  114.             }
  115.             if(listitem ==  2)//MotorcycleHelmet2
  116.             {
  117.                 SetPlayerAttachedObject(playerid, 1, 18977, 2, 0.07, 0, 0, 88, 75, 0);
  118.             }
  119.             if(listitem ==  3)//MotorcycleHelmet3
  120.             {
  121.                 SetPlayerAttachedObject(playerid, 1, 18978, 2, 0.07, 0, 0, 88, 75, 0);
  122.             }
  123.             if(listitem ==  4)//MotorcycleHelmet4
  124.             {
  125.                 SetPlayerAttachedObject(playerid, 1, 18979, 2, 0.07, 0, 0, 88, 75, 0);
  126.             }
  127.             if(listitem ==  5)//HatBoater1
  128.             {
  129.                 SetPlayerAttachedObject(playerid, 1, 18944, 2, 0.15, 0.0, 0, 180, 0, 10);
  130.             }
  131.             if(listitem ==  6)//HatBoater2
  132.             {
  133.                 SetPlayerAttachedObject(playerid, 1, 18945, 2, 0.15, 0.0, 0, 180, 0, 10);
  134.             }
  135.             if(listitem ==  7)//HatBoater3
  136.             {
  137.                 SetPlayerAttachedObject(playerid, 1, 18946, 2, 0.15, 0.0, 0, 180, 0, 10);
  138.             }
  139.             if(listitem ==  8)//Bowler1
  140.             {
  141.                 SetPlayerAttachedObject(playerid, 1, 18947, 2, 0.15, 0.0, 0, 180, 0, 10);
  142.             }
  143.             if(listitem ==  9)//Bowler2
  144.             {
  145.                 SetPlayerAttachedObject(playerid, 1, 18948, 2, 0.15, 0.0, 0, 180, 0, 10);
  146.             }
  147.             if(listitem ==  10)//Bowler3
  148.             {
  149.                 SetPlayerAttachedObject(playerid, 1, 18949, 2, 0.15, 0.0, 0, 180, 0, 10);
  150.             }
  151.             if(listitem ==  11)//Bowler4
  152.             {
  153.                 SetPlayerAttachedObject(playerid, 1, 18950, 2, 0.15, 0.0, 0, 180, 0, 10);
  154.             }
  155.             if(listitem ==  12)//Bowler5
  156.             {
  157.                 SetPlayerAttachedObject(playerid, 1, 18951, 2, 0.15, 0.0, 0, 180, 0, 10);
  158.             }
  159.             if(listitem ==  13)//weiter
  160.             {
  161.                 new listitems[] = "{FFFFFF}14\t{55EE55}Barret 1\n{FFFFFF}15\t{55EE55}Barret 2\n{FFFFFF}16\t{55EE55}Barret 3\n{FFFFFF}17\t{55EE55}Barret 4\n{FFFFFF}18\t{55EE55}Barret 5\n{FFFFFF}19\t{55EE55}CapBack 1\n{FFFFFF}20\t{55EE55}CapBack 2\n{FFFFFF}21\t{55EE55}CapBack 3\n{FFFFFF}22\t{55EE55}CapBack 4\n{FFFFFF}23\t{55EE55}CapBack 5\n{FFFFFF}24\t{55EE55}CapKnit 1\n{FFFFFF}25\t{55EE55}CapKnit 2\n{FFFFFF}26\t{55EE55}CapRimUp\n{55EE55}>>weiter<<";
  162.                 ShowPlayerDialog(playerid,207,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix>headgear 2/6:",listitems,"wear","back");
  163.             }
  164.         }
  165.         else
  166.         {
  167.             new listitems[] = "{FFFFFF}1\t{55EE55}headgear\n{FFFFFF}2\t{55EE55}glasses\n{FFFFFF}3\t{55EE55}bandanna\n{FFFFFF}4\t{55EE55}masks\n{FFFFFF}5\t{55EE55}deleted\n{FFFFFF}6\t{55EE55}remove clothes";
  168.             ShowPlayerDialog(playerid,200,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix:",listitems,"wear","cancel");
  169.         }
  170.         return 1;
  171.     }
  172.     if(dialogid == 207)
  173.     {
  174.         if(response)
  175.         {
  176.             if(listitem ==  0)//Beret 1
  177.             {
  178.                 SetPlayerAttachedObject(playerid, 1, 18921, 2, 0.15, -0.03, 0.01, 180, 0, 30);
  179.             }
  180.             if(listitem ==  1)//Beret 2
  181.             {
  182.                 SetPlayerAttachedObject(playerid, 1, 18922, 2, 0.15, -0.03, 0.01, 180, 0, 30);
  183.             }
  184.             if(listitem ==  2)//Beret 3
  185.             {
  186.                 SetPlayerAttachedObject(playerid, 1, 18923, 2, 0.15, -0.03, 0.01, 180, 0, 30);
  187.             }
  188.             if(listitem ==  3)//Beret 4
  189.             {
  190.                 SetPlayerAttachedObject(playerid, 1, 18924, 2, 0.15, -0.03, 0.01, 180, 0, 30);
  191.             }
  192.             if(listitem ==  4)//Beret 5
  193.             {
  194.                 SetPlayerAttachedObject(playerid, 1, 18925, 2, 0.15, -0.03, 0.01, 180, 0, 30);
  195.             }
  196.             if(listitem ==  5)//CapBack1
  197.             {
  198.                 SetPlayerAttachedObject(playerid, 1, 18939, 2, 0.17, -0.03, 0.01, 180, 0, 30);
  199.             }
  200.             if(listitem ==  6)//CapBack2
  201.             {
  202.                 SetPlayerAttachedObject(playerid, 1, 18940, 2, 0.17, -0.03, 0.01, 180, 0, 30);
  203.             }
  204.             if(listitem ==  7)//CapBack3
  205.             {
  206.                 SetPlayerAttachedObject(playerid, 1, 18941, 2, 0.17, -0.03, 0.01, 180, 0, 30);
  207.             }
  208.             if(listitem ==  8)//CapBack4
  209.             {
  210.                 SetPlayerAttachedObject(playerid, 1, 18942, 2, 0.17, -0.03, 0.01, 180, 0, 30);
  211.             }
  212.             if(listitem ==  9)//CapBack5
  213.             {
  214.                 SetPlayerAttachedObject(playerid, 1, 18943, 2, 0.17, -0.03, 0.01, 180, 0, 30);
  215.             }
  216.             if(listitem ==  10)//CapKnit 1
  217.             {
  218.                 SetPlayerAttachedObject(playerid, 1, 18953, 2, 0.13, -0.03, 0.00, 180, 0, 30);
  219.             }
  220.             if(listitem ==  11)//CapKnit 2
  221.             {
  222.                 SetPlayerAttachedObject(playerid, 1, 18954, 2, 0.13, -0.03, 0.00, 180, 0, 30);
  223.             }
  224.             if(listitem ==  12)//CapRimUp
  225.             {
  226.                 SetPlayerAttachedObject(playerid, 1, 18960, 2, 0.13, 0, 0, 88, 75, 0);
  227.             }
  228.             if(listitem ==  13)//weiter
  229.             {
  230.                 new listitems[] = "{FFFFFF}27\t{55EE55}CapTrucker1\n{FFFFFF}28\t{55EE55}CowboyHat1\n{FFFFFF}29\t{55EE55}SkullyCap1\n{FFFFFF}30\t{55EE55}SkullyCap2\n{FFFFFF}31\t{55EE55}SkullyCap3\n{FFFFFF}32\t{55EE55}HatMan1\n{FFFFFF}33\t{55EE55}HatMan2\n{FFFFFF}34\t{55EE55}HatMan3\n{FFFFFF}35\t{55EE55}HatTiger\n{FFFFFF}36\t{55EE55}HatCool1\n{FFFFFF}37\t{55EE55}HatCool2\n{FFFFFF}38\t{55EE55}HatCool3\n{55EE55}>>weiter<<";
  231.                 ShowPlayerDialog(playerid,208,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix>headgear 3/6:",listitems,"wear","back");
  232.             }
  233.         }
  234.         else
  235.         {
  236.             new listitems[] = "{FFFFFF}1\t{55EE55}headgear\n{FFFFFF}2\t{55EE55}glasses\n{FFFFFF}3\t{55EE55}bandanna\n{FFFFFF}4\t{55EE55}masks\n{FFFFFF}5\t{55EE55}deleted\n{FFFFFF}6\t{55EE55}remove clothes";
  237.             ShowPlayerDialog(playerid,200,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix:",listitems,"wear","cancel");
  238.         }
  239.         return 1;
  240.     }
  241.     if(dialogid == 208)
  242.     {
  243.         if(response)
  244.         {
  245.             if(listitem ==  0)//CapTrucker1
  246.             {
  247.                 SetPlayerAttachedObject(playerid, 1, 18961, 2, 0.14, 0, 0, 88, 75, 0);
  248.             }
  249.             if(listitem ==  1)//CowboyHat1
  250.             {
  251.                 SetPlayerAttachedObject(playerid, 1, 18962, 2, 0.14, 0, 0, 88, 75, 0);
  252.             }
  253.             if(listitem ==  2)//SkullyCap1
  254.             {
  255.                 SetPlayerAttachedObject(playerid, 1, 18964, 2, 0.125, 0.015, 0, 90, 100, 0);
  256.             }
  257.             if(listitem ==  3)//SkullyCap2
  258.             {
  259.                 SetPlayerAttachedObject(playerid, 1, 18965, 2, 0.125, 0.015, 0, 90, 100, 0);
  260.             }
  261.             if(listitem ==  4)//SkullyCap3
  262.             {
  263.                 SetPlayerAttachedObject(playerid, 1, 18966, 2, 0.125, 0.015, 0, 90, 100, 0);
  264.             }
  265.             if(listitem ==  5)//HatMan1
  266.             {
  267.                 SetPlayerAttachedObject(playerid, 1, 18967, 2, 0.125, 0.015, 0, 90, 80, 0);
  268.             }
  269.             if(listitem ==  6)//HatMan2
  270.             {
  271.                 SetPlayerAttachedObject(playerid, 1, 18968, 2, 0.125, 0.015, 0, 90, 80, 0);
  272.             }
  273.             if(listitem ==  7)//HatMan2
  274.             {
  275.                 SetPlayerAttachedObject(playerid, 1, 18969, 2, 0.125, 0.015, 0, 90, 80, 0);
  276.             }
  277.             if(listitem ==  8)//HatTiger
  278.             {
  279.                 SetPlayerAttachedObject(playerid, 1, 18970, 2, 0.125, 0.015, 0, 90, 80, 0);
  280.             }
  281.             if(listitem ==  9)//HatCool1
  282.             {
  283.                 SetPlayerAttachedObject(playerid, 1, 18971, 2, 0.125, 0.015, 0, 90, 80, 0);
  284.             }
  285.             if(listitem ==  10)//HatCool2
  286.             {
  287.                 SetPlayerAttachedObject(playerid, 1, 18972, 2, 0.125, 0.015, 0, 90, 80, 0);
  288.             }
  289.             if(listitem ==  11)//HatCool3
  290.             {
  291.                 SetPlayerAttachedObject(playerid, 1, 18973, 2, 0.125, 0.015, 0, 90, 80, 0);
  292.             }
  293.             if(listitem ==  12)//weiter
  294.             {
  295.                 new listitems[] = "{FFFFFF}39\t{55EE55}CapOverEye1\n{FFFFFF}40\t{55EE55}CapOverEye2\n{FFFFFF}41\t{55EE55}CapOverEye3\n{FFFFFF}42\t{55EE55}CapOverEye4\n{FFFFFF}43\t{55EE55}CapOverEye5\n{FFFFFF}44\t{55EE55}Helmet1\n{FFFFFF}45\t{55EE55}Helmet2\n{FFFFFF}46\t{55EE55}Helmet3\n{FFFFFF}47\t{55EE55}Cap1\n{FFFFFF}48\t{55EE55}Cap2\n{FFFFFF}49\t{55EE55}Cap3\n{FFFFFF}50\t{55EE55}Cap4\n{FFFFFF}51\t{55EE55}Cap5\n{55EE55}>>weiter<<";
  296.                 ShowPlayerDialog(playerid,209,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix>headgear 4/6:",listitems,"wear","back");
  297.             }
  298.         }
  299.         else
  300.         {
  301.             new listitems[] = "{FFFFFF}1\t{55EE55}headgear\n{FFFFFF}2\t{55EE55}glasses\n{FFFFFF}3\t{55EE55}bandanna\n{FFFFFF}4\t{55EE55}masks\n{FFFFFF}5\t{55EE55}deleted\n{FFFFFF}6\t{55EE55}remove clothes";
  302.             ShowPlayerDialog(playerid,200,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix:",listitems,"wear","cancel");
  303.         }
  304.         return 1;
  305.     }
  306.     if(dialogid == 209)
  307.     {
  308.         if(response)
  309.         {
  310.             if(listitem ==  0)//CapOverEye1
  311.             {
  312.                 SetPlayerAttachedObject(playerid, 1, 18955, 2, 0.11, 0.02, 0, 88, 75, 0);
  313.             }
  314.             if(listitem ==  1)//CapOverEye2
  315.             {
  316.                 SetPlayerAttachedObject(playerid, 1, 18956, 2, 0.11, 0.02, 0, 88, 75, 0);
  317.             }
  318.             if(listitem ==  2)//CapOverEye3
  319.             {
  320.                 SetPlayerAttachedObject(playerid, 1, 18957, 2, 0.11, 0.02, 0, 88, 75, 0);
  321.             }
  322.             if(listitem ==  3)//CapOverEye4
  323.             {
  324.                 SetPlayerAttachedObject(playerid, 1, 18958, 2, 0.11, 0.02, 0, 88, 75, 0);
  325.             }
  326.             if(listitem ==  4)//CapOverEye5
  327.             {
  328.                 SetPlayerAttachedObject(playerid, 1, 18959, 2, 0.11, 0.02, 0, 88, 75, 0);
  329.             }
  330.             if(listitem ==  5)//Helmet1
  331.             {
  332.                 SetPlayerAttachedObject(playerid, 1, 18936, 2, 0.105, 0.02, 0, 0, 0, 0);
  333.             }
  334.             if(listitem ==  6)//Helmet2
  335.             {
  336.                 SetPlayerAttachedObject(playerid, 1, 18937, 2, 0.105, 0.02, 0, 0, 0, 0);
  337.             }
  338.             if(listitem ==  7)//Helmet3
  339.             {
  340.                 SetPlayerAttachedObject(playerid, 1, 18938, 2, 0.105, 0.02, 0, 0, 0, 0);
  341.             }
  342.             if(listitem ==  8)//Cap1
  343.             {
  344.                 SetPlayerAttachedObject(playerid, 1, 18926, 2, 0.17, 0, -0.01, 0, 0, 0);
  345.             }
  346.             if(listitem ==  9)//Cap2
  347.             {
  348.                 SetPlayerAttachedObject(playerid, 1, 18927, 2, 0.17, 0, -0.01, 0, 0, 0);
  349.             }
  350.             if(listitem ==  10)//Cap3
  351.             {
  352.                 SetPlayerAttachedObject(playerid, 1, 18928, 2, 0.17, 0, -0.01, 0, 0, 0);
  353.             }
  354.             if(listitem ==  11)//Cap4
  355.             {
  356.                 SetPlayerAttachedObject(playerid, 1, 18929, 2, 0.17, 0, -0.01, 0, 0, 0);
  357.             }
  358.             if(listitem ==  12)//Cap5
  359.             {
  360.                 SetPlayerAttachedObject(playerid, 1, 18930, 2, 0.17, 0, -0.01, 0, 0, 0);
  361.             }
  362.             if(listitem == 13)//weiter
  363.             {
  364.                 new listitems[] = "{FFFFFF}52\t{55EE55}Cap6\n{FFFFFF}53\t{55EE55}Cap7\n{FFFFFF}54\t{55EE55}Cap8\n{FFFFFF}55\t{55EE55}Cap9\n{FFFFFF}56\t{55EE55}Cap10\n{FFFFFF}57\t{55EE55}Kopftuch1\n{FFFFFF}58\t{55EE55}Kopftuch2\n{FFFFFF}59\t{55EE55}Kopftuch3\n{FFFFFF}60\t{55EE55}Kopftuch4\n{FFFFFF}61\t{55EE55}Kopftuch5\n{FFFFFF}62\t{55EE55}Kopftuch6\n{FFFFFF}63\t{55EE55}Kopftuch7\n{FFFFFF}64\t{55EE55}Kopftuch8\n{55EE55}>>weiter<<";
  365.                 ShowPlayerDialog(playerid,210,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix>headgear 5/6:",listitems,"wear","back");
  366.             }
  367.         }
  368.         else
  369.         {
  370.             new listitems[] = "{FFFFFF}1\t{55EE55}headgear\n{FFFFFF}2\t{55EE55}glasses\n{FFFFFF}3\t{55EE55}bandanna\n{FFFFFF}4\t{55EE55}masks\n{FFFFFF}5\t{55EE55}deleted\n{FFFFFF}6\t{55EE55}remove clothes";
  371.             ShowPlayerDialog(playerid,200,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix:",listitems,"wear","cancel");
  372.         }
  373.         return 1;
  374.     }
  375.     if(dialogid == 210)
  376.     {
  377.         if(response)
  378.         {
  379.             if(listitem ==  0)//Cap6
  380.             {
  381.                 SetPlayerAttachedObject(playerid, 1, 18931, 2, 0.17, 0, -0.01, 0, 0, 0);
  382.             }
  383.             if(listitem ==  1)//Cap7
  384.             {
  385.                 SetPlayerAttachedObject(playerid, 1, 18932, 2, 0.17, 0, -0.01, 0, 0, 0);
  386.             }
  387.             if(listitem ==  2)//Cap8
  388.             {
  389.                 SetPlayerAttachedObject(playerid, 1, 18933, 2, 0.17, 0, -0.01, 0, 0, 0);
  390.             }
  391.             if(listitem ==  3)//Cap9
  392.             {
  393.                 SetPlayerAttachedObject(playerid, 1, 18934, 2, 0.17, 0, -0.01, 0, 0, 0);
  394.             }
  395.             if(listitem ==  4)//Cap10
  396.             {
  397.                 SetPlayerAttachedObject(playerid, 1, 18935, 2, 0.17, 0, -0.01, 0, 0, 0);
  398.             }
  399.             if(listitem ==  5)//Kopftuch1
  400.             {
  401.                 SetPlayerAttachedObject(playerid, 1, 18891, 2, 0.15, -0.013, 0.001, 90, -30, -90);
  402.             }
  403.             if(listitem ==  6)//Kopftuch2
  404.             {
  405.                 SetPlayerAttachedObject(playerid, 1, 18892, 2, 0.15, -0.013, 0.001, 90, -30, -90);
  406.             }
  407.             if(listitem ==  7)//Kopftuch3
  408.             {
  409.                 SetPlayerAttachedObject(playerid, 1, 18893, 2, 0.15, -0.013, 0.001, 90, -30, -90);
  410.             }
  411.             if(listitem ==  8)//Kopftuch4
  412.             {
  413.                 SetPlayerAttachedObject(playerid, 1, 18894, 2, 0.15, -0.013, 0.001, 90, -30, -90);
  414.             }
  415.             if(listitem ==  9)//Kopftuch5
  416.             {
  417.                 SetPlayerAttachedObject(playerid, 1, 18895, 2, 0.15, -0.013, 0.001, 90, -30, -90);
  418.             }
  419.             if(listitem ==  10)//Kopftuch6
  420.             {
  421.                 SetPlayerAttachedObject(playerid, 1, 18896, 2, 0.15, -0.013, 0.001, 90, -30, -90);
  422.             }
  423.             if(listitem ==  11)//Kopftuch7
  424.             {
  425.                 SetPlayerAttachedObject(playerid, 1, 18897, 2, 0.15, -0.013, 0.001, 90, -30, -90);
  426.             }
  427.             if(listitem ==  12)//Kopftuch8
  428.             {
  429.                 SetPlayerAttachedObject(playerid, 1, 18898, 2, 0.15, -0.013, 0.001, 90, -30, -90);
  430.             }
  431.             if(listitem ==  13)//weiter
  432.             {
  433.                 new listitems[] = "{FFFFFF}65\t{55EE55}Kopftuch9\n{FFFFFF}66\t{55EE55}Kopftuch10\n{FFFFFF}67\t{55EE55}Kopftuch11\n{FFFFFF}68\t{55EE55}Kopftuch12\n{FFFFFF}69\t{55EE55}Kopftuch13\n{FFFFFF}70\t{55EE55}Kopftuch14\n{FFFFFF}71\t{55EE55}Kopftuch15\n{FFFFFF}72\t{55EE55}Kopftuch16\n{FFFFFF}73\t{55EE55}Kopftuch17\n{FFFFFF}74\t{55EE55}Kopftuch18\n{FFFFFF}75\t{55EE55}Kopftuch19\n{FFFFFF}76\t{55EE55}Kopftuch20\n";
  434.                 ShowPlayerDialog(playerid,212,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix>headgear 6/6:",listitems,"wear","back");
  435.             }
  436.         }
  437.         else
  438.         {
  439.             new listitems[] = "{FFFFFF}1\t{55EE55}headgear\n{FFFFFF}2\t{55EE55}glasses\n{FFFFFF}3\t{55EE55}bandanna\n{FFFFFF}4\t{55EE55}masks\n{FFFFFF}5\t{55EE55}deleted\n{FFFFFF}6\t{55EE55}remove clothes";
  440.             ShowPlayerDialog(playerid,200,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix:",listitems,"wear","cancel");
  441.         }
  442.         return 1;
  443.     }
  444.     if(dialogid == 212)
  445.     {
  446.         if(response)
  447.         {
  448.             if(listitem ==  0)//Kopftuch9
  449.             {
  450.                 SetPlayerAttachedObject(playerid, 1, 18899, 2, 0.15, -0.013, 0.001, 90, -30, -90);
  451.             }
  452.             if(listitem ==  1)//Kopftuch10
  453.             {
  454.                 SetPlayerAttachedObject(playerid, 1, 18900, 2, 0.15, -0.013, 0.001, 90, -30, -90);
  455.             }
  456.             if(listitem ==  2)//Kopftuch11
  457.             {
  458.                 SetPlayerAttachedObject(playerid, 1, 18901, 2, 0.15, -0.013, 0.001, 90, -30, -90);
  459.             }
  460.             if(listitem ==  3)//Kopftuch12
  461.             {
  462.                 SetPlayerAttachedObject(playerid, 1, 18902, 2, 0.15, -0.013, 0.001, 90, -30, -90);
  463.             }
  464.             if(listitem ==  4)//Kopftuch13
  465.             {
  466.                 SetPlayerAttachedObject(playerid, 1, 18903, 2, 0.15, -0.013, 0.001, 90, -30, -90);
  467.             }
  468.             if(listitem ==  5)//Kopftuch14
  469.             {
  470.                 SetPlayerAttachedObject(playerid, 1, 18904, 2, 0.15, -0.013, 0.001, 90, -30, -90);
  471.             }
  472.             if(listitem ==  6)//Kopftuch15
  473.             {
  474.                 SetPlayerAttachedObject(playerid, 1, 18905, 2, 0.15, -0.013, 0.001, 90, -30, -90);
  475.             }
  476.             if(listitem ==  7)//Kopftuch16
  477.             {
  478.                 SetPlayerAttachedObject(playerid, 1, 18906, 2, 0.12, -0.02, 0.001, 90, -60, -90);
  479.             }
  480.             if(listitem ==  8)//Kopftuch17
  481.             {
  482.                 SetPlayerAttachedObject(playerid, 1, 18907, 2, 0.12, -0.02, 0.001, 90, -60, -90);
  483.             }
  484.             if(listitem ==  9)//Kopftuch18
  485.             {
  486.                 SetPlayerAttachedObject(playerid, 1, 18908, 2, 0.12, -0.02, 0.001, 90, -60, -90);
  487.             }
  488.             if(listitem ==  10)//Kopftuch19
  489.             {
  490.                 SetPlayerAttachedObject(playerid, 1, 18909, 2, 0.12, -0.02, 0.001, 90, -60, -90);
  491.             }
  492.             if(listitem ==  11)//Kopftuch20
  493.             {
  494.                 SetPlayerAttachedObject(playerid, 1, 18910, 2, 0.12, -0.02, 0.001, 90, -60, -90);
  495.             }
  496.         }
  497.         else
  498.         {
  499.             new listitems[] = "{FFFFFF}1\t{55EE55}headgear\n{FFFFFF}2\t{55EE55}glasses\n{FFFFFF}3\t{55EE55}bandanna\n{FFFFFF}4\t{55EE55}masks\n{FFFFFF}5\t{55EE55}deleted\n{FFFFFF}6\t{55EE55}remove clothes";
  500.             ShowPlayerDialog(playerid,200,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix:",listitems,"wear","cancel");
  501.         }
  502.         return 1;
  503.     }
  504.     if(dialogid == 202)
  505.     {
  506.         if(response)
  507.         {
  508.             if(listitem ==  0)//GlassesType1
  509.             {
  510.                 SetPlayerAttachedObject(playerid, 2, 19006, 2, 0.09, 0.04, 0, 88, 75, 0);
  511.             }
  512.             if(listitem ==  1)//GlassesType2
  513.             {
  514.                 SetPlayerAttachedObject(playerid, 2, 19007, 2, 0.09, 0.04, 0, 88, 75, 0);
  515.             }
  516.             if(listitem ==  2)//GlassesType3
  517.             {
  518.                 SetPlayerAttachedObject(playerid, 2, 19008, 2, 0.09, 0.04, 0, 88, 75, 0);
  519.             }
  520.             if(listitem ==  3)//GlassesType4
  521.             {
  522.                 SetPlayerAttachedObject(playerid, 2, 19009, 2, 0.09, 0.04, 0, 88, 75, 0);
  523.             }
  524.             if(listitem ==  4)//GlassesType5
  525.             {
  526.                 SetPlayerAttachedObject(playerid, 2, 19010, 2, 0.09, 0.04, 0, 88, 75, 0);
  527.             }
  528.             if(listitem ==  5)//GlassesType6
  529.             {
  530.                 SetPlayerAttachedObject(playerid, 2, 19011, 2, 0.09, 0.04, 0, 88, 75, 0);
  531.             }
  532.             if(listitem ==  6)//GlassesType7
  533.             {
  534.                 SetPlayerAttachedObject(playerid, 2, 19012, 2, 0.09, 0.04, 0, 88, 75, 0);
  535.             }
  536.             if(listitem ==  7)//GlassesType8
  537.             {
  538.                 SetPlayerAttachedObject(playerid, 2, 19013, 2, 0.09, 0.04, 0, 88, 75, 0);
  539.             }
  540.             if(listitem ==  8)//GlassesType9
  541.             {
  542.                 SetPlayerAttachedObject(playerid, 2, 19014, 2, 0.09, 0.04, 0, 88, 75, 0);
  543.             }
  544.             if(listitem ==  9)//GlassesType10
  545.             {
  546.                 SetPlayerAttachedObject(playerid, 2, 19015, 2, 0.09, 0.04, 0, 88, 75, 0);
  547.             }
  548.             if(listitem == 10)//weiter
  549.             {
  550.                 new listitems[] = "{FFFFFF}11\t{55EE55}Brille 11\n{FFFFFF}12\t{55EE55}Brille 12\n{FFFFFF}13\t{55EE55}Brille 13\n{FFFFFF}14\t{55EE55}Brille 14\n{FFFFFF}15\t{55EE55}Brille 15\n{FFFFFF}16\t{55EE55}Brille 16\n{FFFFFF}17\t{55EE55}Brille 17\n{FFFFFF}18\t{55EE55}Brille 18\n{FFFFFF}19\t{55EE55}Brille 19\n{FFFFFF}20\t{55EE55}Brille 20\n{55EE55}>>weiter<<";
  551.                 ShowPlayerDialog(playerid,203,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix>glasses 2/3:",listitems,"wear","back");
  552.             }
  553.         }
  554.         else
  555.         {
  556.             new listitems[] = "{FFFFFF}1\t{55EE55}headgear\n{FFFFFF}2\t{55EE55}glasses\n{FFFFFF}3\t{55EE55}bandanna\n{FFFFFF}4\t{55EE55}masks\n{FFFFFF}5\t{55EE55}deleted\n{FFFFFF}6\t{55EE55}remove clothes";
  557.             ShowPlayerDialog(playerid,200,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix:",listitems,"wear","cancel");
  558.         }
  559.         return 1;
  560.     }
  561.     if(dialogid == 203)
  562.     {
  563.         if(response)
  564.         {
  565.             if(listitem ==  0)//GlassesType11
  566.             {
  567.                 SetPlayerAttachedObject(playerid, 2, 19016, 2, 0.09, 0.04, 0, 88, 75, 0);
  568.             }
  569.             if(listitem ==  1)//GlassesType12
  570.             {
  571.                 SetPlayerAttachedObject(playerid, 2, 19017, 2, 0.09, 0.04, 0, 88, 75, 0);
  572.             }
  573.             if(listitem ==  2)//GlassesType13
  574.             {
  575.                 SetPlayerAttachedObject(playerid, 2, 19018, 2, 0.09, 0.04, 0, 88, 75, 0);
  576.             }
  577.             if(listitem ==  3)//GlassesType14
  578.             {
  579.                 SetPlayerAttachedObject(playerid, 2, 19019, 2, 0.09, 0.04, 0, 88, 75, 0);
  580.             }
  581.             if(listitem ==  4)//GlassesType15
  582.             {
  583.                 SetPlayerAttachedObject(playerid, 2, 19020, 2, 0.09, 0.04, 0, 88, 75, 0);
  584.             }
  585.             if(listitem ==  5)//GlassesType16
  586.             {
  587.                 SetPlayerAttachedObject(playerid, 2, 19021, 2, 0.09, 0.04, 0, 88, 75, 0);
  588.             }
  589.             if(listitem ==  6)//GlassesType17
  590.             {
  591.                 SetPlayerAttachedObject(playerid, 2, 19022, 2, 0.09, 0.04, 0, 88, 75, 0);
  592.             }
  593.             if(listitem ==  7)//GlassesType18
  594.             {
  595.                 SetPlayerAttachedObject(playerid, 2, 19023, 2, 0.09, 0.04, 0, 88, 75, 0);
  596.             }
  597.             if(listitem ==  8)//GlassesType19
  598.             {
  599.                 SetPlayerAttachedObject(playerid, 2, 19024, 2, 0.09, 0.04, 0, 88, 75, 0);
  600.             }
  601.             if(listitem ==  9)//GlassesType20
  602.             {
  603.                 SetPlayerAttachedObject(playerid, 2, 19025, 2, 0.09, 0.04, 0, 88, 75, 0);
  604.             }
  605.             if(listitem == 10)//weiter
  606.             {
  607.                 new listitems[] = "{FFFFFF}21\t{55EE55}Brille 21\n{FFFFFF}22\t{55EE55}Brille 22\n{FFFFFF}23\t{55EE55}Brille 23\n{FFFFFF}24\t{55EE55}Brille 24\n{FFFFFF}25\t{55EE55}Brille 25\n{FFFFFF}26\t{55EE55}Brille 26\n{FFFFFF}27\t{55EE55}Brille 27\n{FFFFFF}28\t{55EE55}Brille 28\n{FFFFFF}29\t{55EE55}Brille 29\n{FFFFFF}30\t{55EE55}Brille 30";
  608.                 ShowPlayerDialog(playerid,204,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix>glasses 3/3:",listitems,"wear","back");
  609.             }
  610.         }
  611.         else
  612.         {
  613.             new listitems[] = "{FFFFFF}1\t{55EE55}headgear\n{FFFFFF}2\t{55EE55}glasses\n{FFFFFF}3\t{55EE55}bandanna\n{FFFFFF}4\t{55EE55}masks\n{FFFFFF}5\t{55EE55}deleted\n{FFFFFF}6\t{55EE55}remove clothes";
  614.             ShowPlayerDialog(playerid,200,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix:",listitems,"wear","cancel");
  615.         }
  616.         return 1;
  617.     }
  618.     if(dialogid == 204)
  619.     {
  620.         if(response)
  621.         {
  622.             if(listitem ==  0)//GlassesType21
  623.             {
  624.                 SetPlayerAttachedObject(playerid, 2, 19026, 2, 0.09, 0.04, 0, 88, 75, 0);
  625.             }
  626.             if(listitem ==  1)//GlassesType22
  627.             {
  628.                 SetPlayerAttachedObject(playerid, 2, 19027, 2, 0.09, 0.04, 0, 88, 75, 0);
  629.             }
  630.             if(listitem ==  2)//GlassesType23
  631.             {
  632.                 SetPlayerAttachedObject(playerid, 2, 19028, 2, 0.09, 0.04, 0, 88, 75, 0);
  633.             }
  634.             if(listitem ==  3)//GlassesType24
  635.             {
  636.                 SetPlayerAttachedObject(playerid, 2, 19029, 2, 0.09, 0.04, 0, 88, 75, 0);
  637.             }
  638.             if(listitem ==  4)//GlassesType25
  639.             {
  640.                 SetPlayerAttachedObject(playerid, 2, 19030, 2, 0.09, 0.04, 0, 88, 75, 0);
  641.             }
  642.             if(listitem ==  5)//GlassesType26
  643.             {
  644.                 SetPlayerAttachedObject(playerid, 2, 19031, 2, 0.09, 0.04, 0, 88, 75, 0);
  645.             }
  646.             if(listitem ==  6)//GlassesType27
  647.             {
  648.                 SetPlayerAttachedObject(playerid, 2, 19032, 2, 0.09, 0.04, 0, 88, 75, 0);
  649.             }
  650.             if(listitem ==  7)//GlassesType28
  651.             {
  652.                 SetPlayerAttachedObject(playerid, 2, 19033, 2, 0.09, 0.04, 0, 88, 75, 0);
  653.             }
  654.             if(listitem ==  8)//GlassesType29
  655.             {
  656.                 SetPlayerAttachedObject(playerid, 2, 19034, 2, 0.09, 0.04, 0, 88, 75, 0);
  657.             }
  658.             if(listitem ==  9)//GlassesType30
  659.             {
  660.                 SetPlayerAttachedObject(playerid, 2, 19035, 2, 0.09, 0.04, 0, 88, 75, 0);
  661.             }
  662.         }
  663.         else
  664.         {
  665.             new listitems[] = "{FFFFFF}1\t{55EE55}headgear\n{FFFFFF}2\t{55EE55}glasses\n{FFFFFF}3\t{55EE55}bandanna\n{FFFFFF}4\t{55EE55}masks\n{FFFFFF}5\t{55EE55}deleted\n{FFFFFF}6\t{55EE55}remove clothes";
  666.             ShowPlayerDialog(playerid,200,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix:",listitems,"wear","cancel");
  667.         }
  668.         return 1;
  669.     }
  670.     if(dialogid == 205)
  671.     {
  672.         if(response)
  673.         {
  674.             if(listitem ==  0)//bandanna1
  675.             {
  676.                 SetPlayerAttachedObject(playerid, 3, 18911, 2, -0.08, 0.03, 0.0, 90, -180, -90);
  677.             }
  678.             if(listitem ==  1)//bandanna2
  679.             {
  680.                 SetPlayerAttachedObject(playerid, 3, 18912, 2, -0.08, 0.03, 0.0, 90, -180, -90);
  681.             }
  682.             if(listitem ==  2)//bandanna3
  683.             {
  684.                 SetPlayerAttachedObject(playerid, 3, 18913, 2, -0.08, 0.03, 0.0, 90, -180, -90);
  685.             }
  686.             if(listitem ==  3)//bandanna4
  687.             {
  688.                 SetPlayerAttachedObject(playerid, 3, 18914, 2, -0.08, 0.03, 0.0, 90, -180, -90);
  689.             }
  690.             if(listitem ==  4)//bandanna5
  691.             {
  692.                 SetPlayerAttachedObject(playerid, 3, 18915, 2, -0.08, 0.03, 0.0, 90, -180, -90);
  693.             }
  694.             if(listitem ==  5)//bandanna6
  695.             {
  696.                 SetPlayerAttachedObject(playerid, 3, 18916, 2, -0.08, 0.03, 0.0, 90, -180, -90);
  697.             }
  698.             if(listitem ==  6)//bandanna7
  699.             {
  700.                 SetPlayerAttachedObject(playerid, 3, 18917, 2, -0.08, 0.03, 0.0, 90, -180, -90);
  701.             }
  702.             if(listitem ==  7)//bandanna8
  703.             {
  704.                 SetPlayerAttachedObject(playerid, 3, 18918, 2, -0.08, 0.03, 0.0, 90, -180, -90);
  705.             }
  706.             if(listitem ==  8)//bandanna9
  707.             {
  708.                 SetPlayerAttachedObject(playerid, 3, 18919, 2, -0.08, 0.03, 0.0, 90, -180, -90);
  709.             }
  710.             if(listitem ==  9)//bandanna10
  711.             {
  712.                 SetPlayerAttachedObject(playerid, 3, 18920, 2, -0.08, 0.03, 0.0, 90, -180, -90);
  713.             }
  714.         }
  715.         else
  716.         {
  717.             new listitems[] = "{FFFFFF}1\t{55EE55}headgear\n{FFFFFF}2\t{55EE55}glasses\n{FFFFFF}3\t{55EE55}bandanna\n{FFFFFF}4\t{55EE55}masks\n{FFFFFF}5\t{55EE55}deleted\n{FFFFFF}6\t{55EE55}remove clothes";
  718.             ShowPlayerDialog(playerid,200,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix:",listitems,"wear","cancel");
  719.         }
  720.         return 1;
  721.     }
  722.     if(dialogid == 211)
  723.     {
  724.         if(response)
  725.         {
  726.             if(listitem ==  0)//Hockeymask1
  727.             {
  728.                 SetPlayerAttachedObject(playerid, 1, 19036, 2, 0.107, 0.020, 0.0, 90, 90, 0);
  729.             }
  730.             if(listitem ==  1)//Hockeymask2
  731.             {
  732.                 SetPlayerAttachedObject(playerid, 1, 19037, 2, 0.107, 0.020, 0.0, 90, 90, 0);
  733.             }
  734.             if(listitem ==  2)//Hockeymask3
  735.             {
  736.                 SetPlayerAttachedObject(playerid, 1, 19038, 2, 0.107, 0.020, 0.0, 90, 90, 0);
  737.             }
  738.             if(listitem ==  3)//Zorromask
  739.             {
  740.                 SetPlayerAttachedObject(playerid, 1, 18974, 2, 0.098, 0.0258, 0.0, 90, 90, 0);
  741.             }
  742.             if(listitem ==  4)//Boxing
  743.             {
  744.                 SetPlayerAttachedObject(playerid, 1, 18952, 2, 0.105, 0.01, 0.0, 0, 0, 0);
  745.             }
  746.         }
  747.         else
  748.         {
  749.             new listitems[] = "{FFFFFF}1\t{55EE55}headgear\n{FFFFFF}2\t{55EE55}glasses\n{FFFFFF}3\t{55EE55}bandanna\n{FFFFFF}4\t{55EE55}masks\n{FFFFFF}5\t{55EE55}deleted\n{FFFFFF}6\t{55EE55}remove clothes";
  750.             ShowPlayerDialog(playerid,200,DIALOG_STYLE_LIST,"{448844}Clothes by Kane_Phoenix:",listitems,"wear","cancel");
  751.         }
  752.         return 1;
  753.     }
  754.     return 1;
  755. }
  756.  
  757. /*
  758. Dont REMOVE any CREDITS!!!
  759. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement