Advertisement
Tandfen

Gunstore made by Tandfen

Aug 23rd, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.56 KB | None | 0 0
  1. @name Gunshop By Tandfen
  2. @inputs Ranger1 Ranger2 Ranger3 Ranger4 Ranger5 Money E:wirelink
  3. @outputs User1 User2 User3 User4 User5
  4.  
  5. if (first()|duped()|dupefinished()){
  6. hint("Made by Tandfen",1000)
  7. hint("http://steamcommunity.com/profiles/76561198144128531/",1000)
  8. E:egpClear()
  9.  
  10. }
  11.  
  12. interval(250)
  13. ##################
  14. # Configurations #
  15. ##################
  16.  
  17. # Background box color
  18. BGcolor = 75,75,75
  19. #weapon text color
  20. WColor = 0,0,0
  21. #Tittle text color
  22. Tittlecolor = random(255),255,255 # makes the text flash random colors
  23.  
  24. #background box
  25. #E:egpRoundedBox(first layer / 1, vec2(position-right or left, position up and down),vec2(width of the box, height of the box))
  26. E:egpRoundedBox(1,vec2(255,255),vec2(500,500)) # the box nr1
  27. E:egpColor(1,vec(BGcolor)) # the color of nr1, change in config
  28.  
  29. #Tittle part
  30. # Tittle background rounded box
  31. E:egpRoundedBox(2,vec2(250,50),vec2(380,50))
  32. E:egpColor(2,vec(250,150,0))
  33. E:egpRoundedBoxOutline(3,vec2(250,50),vec2(380,50))
  34. E:egpColor(3,vec(0,0,0))
  35.  
  36. #Tittle text and size - change color in the config part
  37. E:egpText(4,"Granty's gunshop", vec2(85,25))
  38. E:egpSize(4,40) # setting the text size of text E:egpText(2,...)
  39. E:egpColor(4,vec(Tittlecolor))
  40. # Tittle part end
  41.  
  42.  
  43. #Gun boxes - background
  44. E:egpRoundedBox(5,vec2(250,125),vec2(380,50))
  45. E:egpColor(5,vec(250,150,0))
  46. E:egpRoundedBoxOutline(6,vec2(250,125),vec2(380,50))
  47.  
  48.  
  49.  
  50.  
  51.  
  52. E:egpRoundedBox(7,vec2(250,185),vec2(380,50))
  53. E:egpColor(7,vec(250,150,0))
  54. E:egpRoundedBoxOutline(8,vec2(250,185),vec2(380,50))
  55.  
  56.  
  57. E:egpRoundedBox(9,vec2(250,245),vec2(380,50))
  58. E:egpColor(9,vec(250,150,0))
  59. E:egpRoundedBoxOutline(10,vec2(250,245),vec2(380,50))
  60.  
  61.  
  62. E:egpRoundedBox(11,vec2(250,305),vec2(380,50))
  63. E:egpColor(11,vec(250,150,0))
  64. E:egpRoundedBoxOutline(12,vec2(250,305),vec2(380,50))
  65.  
  66.  
  67.  
  68. E:egpRoundedBox(13,vec2(250,365),vec2(380,50))
  69. E:egpColor(13,vec(250,150,0))
  70. E:egpRoundedBoxOutline(14,vec2(250,365),vec2(380,50))
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79. #Gun boxes - Text (gun name & price)
  80. E:egpText(17,"AM-95 $1000",vec2(100,110))
  81. E:egpSize(17,30)
  82. E:egpColor(17,vec(WColor))
  83.  
  84. E:egpText(18,"Honey Badher $1500",vec2(100,170))
  85. E:egpSize(18,30)
  86. E:egpColor(18,vec(WColor))
  87.  
  88. E:egpText(19,"AI-AW50 $1025",vec2(100,230))
  89. E:egpSize(19,30)
  90. E:egpColor(19,vec(WColor))
  91.  
  92. E:egpText(20,"FG-42 $1010",vec2(100,290))
  93. E:egpSize(20,30)
  94. E:egpColor(20,vec(WColor))
  95.  
  96. E:egpText(21,"Ares Shrike $2000",vec2(100,350))
  97. E:egpSize(21,30)
  98. E:egpColor(21,vec(WColor))
  99.  
  100.  
  101.  
  102.  
  103. #first user / the user for the 1st.
  104. if(Money == 1000){
  105. User1 = 1
  106. }
  107. else {
  108. User1 = 0
  109. }
  110.  
  111.  
  112. #first user / the user for the 2th.
  113. if(Money == 1500){
  114. User2 = 1
  115. }
  116. else {
  117. User2 = 0
  118. }
  119.  
  120.  
  121. #first user / the user for the 3th.
  122. if(Money == 1025){
  123. User3 = 1
  124. }
  125. else {
  126. User3 = 0
  127. }
  128.  
  129.  
  130. #first user / the user for the 4th.
  131. if(Money == 1010){
  132. User4 = 1
  133. }
  134. else {
  135. User4 = 0
  136. }
  137.  
  138.  
  139. #first user / the user for the 4th.
  140. if(Money == 2000){
  141. User5 = 1
  142. }
  143. else {
  144. User5 = 0
  145. }
  146.  
  147.  
  148.  
  149.  
  150. E:egpText(23,"Made by Tandfen",vec2(100,470))
  151. E:egpColor(23,vec(random(255),random(255),random(255)))
  152.  
  153. E:egpText(25,"Correct amount of money in here ->",vec2(150,450))
  154. E:egpColor(25,vec(random(255),255,255))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement