Guest User

SAMPLE:wardrobe_main.sqf

a guest
Jul 4th, 2013
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1. pathtoclothing = "wardrobe\clothing\";
  2. EXECscript1 = 'player execVM "'+pathtoclothing+'%1"';
  3. _humanity = player getVariable ["humanity",0];
  4. if (_humanity > 5000) then {
  5. wardrobe =
  6. [
  7. ["",true],
  8. ["DayZ Clothing", [2], "#USER:WardrobeDayZ", -5, [["expression", ""]], "1", "1"],
  9. ["", [-1], "", -5, [["expression", ""]], "1", "0"],
  10. ["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
  11.  
  12. ];} else {
  13. wardrobe =
  14. [
  15. ["",true],
  16. ["Civilian Clothing", [2], "#USER:WardrobeDayZ", -5, [["expression", ""]], "1", "1"],
  17. ["", [-1], "", -5, [["expression", ""]], "1", "0"],
  18. ["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
  19. ];
  20. };
  21.  
  22. pathtoclothing = "wardrobe\clothing\";
  23. EXECscript1 = 'player execVM "'+pathtoclothing+'%1"';
  24. _humanity = player getVariable ["humanity",0];
  25. if (_humanity > 10000) then {
  26. wardrobe =
  27. [
  28. ["",true],
  29. ["DayZ Clothing", [2], "#USER:WardrobeDayZ", -5, [["expression", ""]], "1", "1"],
  30. ["Custom Clothing", [3], "#USER:WardrobeCustom", -5, [["expression", ""]], "1", "1"],
  31. ["", [-1], "", -5, [["expression", ""]], "1", "0"],
  32. ["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
  33.  
  34. ];} else {
  35. wardrobe =
  36. [
  37. ["",true],
  38. ["DayZ Clothing", [2], "#USER:WardrobeDayZ", -5, [["expression", ""]], "1", "1"],
  39. ["Custom Clothing", [3], "#USER:WardrobeCustom", -5, [["expression", ""]], "1", "1"],
  40. ["", [-1], "", -5, [["expression", ""]], "1", "0"],
  41. ["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
  42. ];
  43. };
  44.  
  45. WardrobeDayZ =
  46. [
  47. ["",true],
  48. ["Male Survivor", [2], "", -5, [["expression", format[EXECscript1,"survivor_male.sqf"]]], "1", "1"],
  49. ["Female Suvivor", [3], "", -5, [["expression", format[EXECscript1,"survivor_female.sqf"]]], "1", "1"],
  50. ["Male Bandit", [4], "", -5, [["expression", format[EXECscript1,"bandit_male.sqf"]]], "1", "1"],
  51. ["Female Bandit", [5], "", -5, [["expression", format[EXECscript1,"bandit_female.sqf"]]], "1", "1"],
  52. ["Camo Clothing", [6], "", -5, [["expression", format[EXECscript1,"camo_clothes.sqf"]]], "1", "1"],
  53. ["Ghillie Suit", [7], "", -5, [["expression", format[EXECscript1,"ghille.sqf"]]], "1", "1"],
  54. ["Soldier Uniform", [8], "", -5, [["expression", format[EXECscript1,"soldier.sqf"]]], "1", "1"],
  55. ["", [-1], "", -5, [["expression", ""]], "1", "0"],
  56. ["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
  57. ];
  58.  
  59. CasualWear =
  60. [
  61. ["",true],
  62. ["Citizen", [2], "", -5, [["expression", format[EXECscript1,"Citizen3.sqf"]]], "1", "1"],
  63. ["Worker", [3], "", -5, [["expression", format[EXECscript1,"Worker1.sqf"]]], "1", "1"],
  64. ["Villager", [4], "", -5, [["expression", format[EXECscript1,"Villager1.sqf"]]], "1", "1"],
  65. ["TK Civilian 1", [5], "", -5, [["expression", format[EXECscript1,"TK_CIV_Takistani01_EP1.sqf"]]], "1", "1"],
  66. ["TK Civilian 2", [6], "", -5, [["expression", format[EXECscript1,"TK_CIV_Takistani05_EP1.sqf"]]], "1", "1"],
  67. ["", [-1], "", -5, [["expression", ""]], "1", "0"],
  68. ["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
  69. ];
  70. showCommandingMenu "#USER:wardrobe";
Advertisement
Add Comment
Please, Sign In to add comment