Advertisement
Frederik1734

Update af de nye våben priser på stavox

May 11th, 2017
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.42 KB | None | 0 0
  1. @name McDonald's Nye vaaben priser
  2. @inputs [E,EB]:wirelink [U,UB]:entity
  3. @outputs
  4. @persist [Version,S,Start,AntiWhite] [Pris,Profit,Odre,SP,AK,AKM]:number [PersonSteamID,SendPengeTilPerson,SU]:string
  5. @persist [V1,V2,V3,V4,V5,V6,V7,V8,V9,V10,V11,V12,V13,V14,V15,V16,V17,V18,V19,V20,V21,V22,V23,V24,V25,V26,V27,V28,V29,V30]:string
  6. @persist [P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15,P16,P17,P18,P19,P20,P21,P22,P23,P24,P25,P26,P27,P28,P29,P30]:number
  7. @persist [W1,W2,W3,W4,W5,W6,W7,W8,W9,W10,W11,W12,W13,W14,W15,W16,W17,W18,W19,W20,W21,W22,W23,W24,W25,W26,W27,W28,W29,W30]:number
  8. @trigger all
  9.  
  10. if(duped() | dupefinished()){reset()}
  11. if(first()){
  12.  
  13.  
  14. ##################
  15. ## Settings ##
  16. ##################
  17. PersonSteamID = "" #Type the workers SteamID in.
  18. LPS = 100 #This is what you get paid for each time you sell a weapon. Minimum: "0" Maximum: "100".
  19. SendPengeTilPerson = "true" #Type "true" if you want to send moneys to: PersonSteamID else type "false" if you dont want to send moneys to: PersonSteamID.
  20. AntiWhite = 0 #edit this to: "1" if your screen is too white. else if you want a white screen edit it to: "0"
  21. ##################
  22. ## Settings ##
  23. ##################
  24.  
  25.  
  26.  
  27. #################
  28. ## Dont edit ##
  29. #################
  30. Version = 3.4
  31. S=1
  32. Ordre=0
  33. Start=0
  34. setName("McDonald's - v"+Version+"
  35. Update af nye v"+(aa())+"ben priser")
  36. #################
  37. ## Dont edit ##
  38. #################
  39.  
  40.  
  41.  
  42. ##################
  43. ## Function ##
  44. ##################
  45.  
  46. function string returnTime(){
  47. SSec=time("sec")
  48. MMin=time("min")
  49. HHour=time("hour")+1
  50. if(SSec<10){Sec="0"+SSec}
  51. else{Sec=""+SSec}
  52. if(MMin<10){Min="0"+MMin}
  53. else{Min=""+MMin}
  54. if(HHour<10){Hour="0"+HHour} elseif(HHour==24){Hour="00"}
  55. elseif(HHour==25){Hour="01"} elseif(HHour==26){Hour="02"}
  56. elseif(HHour==27){Hour="03"} elseif(HHour==28){Hour="04"}
  57. elseif(HHour==29){Hour="05"} elseif(HHour==30){Hour="06"}
  58. else{Hour=""+HHour}
  59. Tid=Hour+":"+Min
  60. return Tid
  61. }
  62.  
  63. function void printChat(STR:string){printColor(vec(255,255,255),"| ",vec(255,214,0),returnTime(),vec(255,255,255)," - ",vec(255,214,0),"McDonald's",vec(255,255,255)," | ",vec(255,255,255),STR)}
  64.  
  65.  
  66. function number wirelink:egpButton(Idx:number,Ply:entity){
  67.  
  68. BR = This:egpPos(Idx) + This:egpSize(Idx) / (0 ? 1 : 2)
  69. TL = This:egpPos(Idx) - This:egpSize(Idx) / 2 * (0 ? 0 : 1)
  70. Cur = This:egpCursor(Ply) return inrange(Cur, TL, BR)
  71. exit()
  72. }
  73.  
  74. function void wirelink:drawScreen1(){
  75.  
  76. This:egpClear()
  77. This:egpBox(1,vec2(256,256),vec2(512,512)),This:egpMaterial(1,"console/background06")
  78. This:egpBox(2,vec2(256,256),vec2(512,512)),This:egpColor(2,255,255,255,10),if(AntiWhite==1){This:egpColor(2,100,100,100,255)}
  79. This:egpBox(3,vec2(192,32),vec2(448,64)),This:egpColor(3,255,255,255,25)
  80. This:egpBox(4,vec2(192,64),vec2(448,1)),This:egpColor(4,0,0,0,150)
  81. This:egpBox(5,vec2(464,256),vec2(96,512)),This:egpColor(5,255,255,255,25)
  82. This:egpBox(6,vec2(416,303),vec2(1,477)),This:egpColor(6,0,0,0,150)
  83. This:egpText(7,"McDonald's",vec2(192+2,32+1)),This:egpAlign(7,1,1),This:egpSize(7,50),This:egpFont(7,"Courier New"),This:egpColor(7,0,0,0,150)
  84. This:egpText(8,"McDonald's",vec2(192,32)),This:egpAlign(8,1,1),This:egpSize(8,50),This:egpFont(8,"Courier New")
  85. This:egpBox(9,vec2(192+1,50+1),vec2(266,1)),This:egpColor(9,0,0,0,150)
  86. This:egpBox(10,vec2(192,50),vec2(266,1))
  87. This:egpText(11,"FastGuns",vec2(179+1,19+1)),This:egpAlign(11,1,1),This:egpSize(11,15),This:egpColor(11,0,0,0,150),This:egpFont(11,"Courier New")
  88. This:egpText(12,"FastGuns",vec2(179,19)),This:egpAlign(12,1,1),This:egpSize(12,15),This:egpFont(12,"Courier New")
  89. This:egpText(13,"Pris:",vec2(464+1,246+1)),This:egpAlign(13,1,1),This:egpSize(13,20),This:egpColor(13,0,0,0,150)
  90. This:egpText(14,"Pris:",vec2(464,246)),This:egpAlign(14,1,1),This:egpSize(14,20)
  91. This:egpText(15,Pris+" DKK",vec2(464+1,266+1)),This:egpAlign(15,1,1),This:egpSize(15,15),This:egpColor(15,0,0,0,150)
  92. This:egpText(16,Pris+" DKK",vec2(464,266)),This:egpAlign(16,1,1),This:egpSize(16,15)
  93. This:egpBox(17,vec2(464+1,236+1),vec2(74,1)),This:egpColor(17,0,0,0,150)
  94. This:egpBox(18,vec2(464,236),vec2(74,1))
  95. This:egpBox(19,vec2(464+1,276+1),vec2(74,1)),This:egpColor(19,0,0,0,150)
  96. This:egpBox(20,vec2(464,276),vec2(74,1))
  97. }
  98.  
  99. function void wirelink:drawScreen2(){
  100.  
  101. This:egpBoxOutline(21,vec2(464+1,306+1),vec2(74,40)),This:egpColor(21,0,0,0,150)
  102. This:egpBoxOutline(22,vec2(464,306),vec2(74,40))
  103. This:egpBox(23,vec2(464,306),vec2(74,40)),This:egpColor(23,0,0,0,0)
  104. This:egpText(24,"Nulstil",vec2(464+1,300+1)),This:egpAlign(24,1,1),This:egpSize(24,15),This:egpColor(24,0,0,0,150)
  105. This:egpText(25,"Nulstil",vec2(464,300)),This:egpAlign(25,1,1),This:egpSize(25,15)
  106. This:egpText(26,"ordre.",vec2(464+1,312+1)),This:egpAlign(26,1,1),This:egpSize(26,15),This:egpColor(26,0,0,0,150)
  107. This:egpText(27,"ordre.",vec2(464,312)),This:egpAlign(27,1,1),This:egpSize(27,15)
  108.  
  109. This:egpBoxOutline(42,vec2(464+1,206+1),vec2(74,40)),This:egpColor(42,0,0,0,150)
  110. This:egpBoxOutline(43,vec2(464,206),vec2(74,40))
  111.  
  112. This:egpBox(44,vec2(464,206),vec2(74,40)),This:egpColor(44,0,255,0,25)
  113. This:egpText(45,"Aventer",vec2(464+1,200+1)),This:egpAlign(45,1,1),This:egpSize(45,15),This:egpColor(45,0,0,0,150)
  114. This:egpText(46,"Aventer",vec2(464,200)),This:egpAlign(46,1,1),This:egpSize(46,15)
  115. This:egpText(47,"odre.",vec2(464+1,212+1)),This:egpAlign(47,1,1),This:egpSize(47,15),This:egpColor(47,0,0,0,150)
  116. This:egpText(48,"odre.",vec2(464,212)),This:egpAlign(48,1,1),This:egpSize(48,15)
  117.  
  118. }
  119.  
  120.  
  121. function void wirelink:drawPressUpDownSite(){
  122.  
  123. This:egpBox(28,vec2(464+1,475+1),vec2(2,20)),This:egpColor(28,0,0,0,150)
  124. This:egpBox(29,vec2(459+1,480+1),vec2(2,14)),This:egpAngle(29,45),This:egpColor(29,0,0,0,150)
  125. This:egpBox(30,vec2(469+1,480+1),vec2(2,14)),This:egpAngle(30,-45),This:egpColor(30,0,0,0,150)
  126. This:egpBox(31,vec2(464,475),vec2(2,20))
  127. This:egpBox(32,vec2(459,480),vec2(2,14)),This:egpAngle(32,45)
  128. This:egpBox(33,vec2(469,480),vec2(2,14)),This:egpAngle(33,-45)
  129.  
  130. This:egpBox(34,vec2(464+1,448+1),vec2(2,20)),This:egpColor(34,0,0,0,150)
  131. This:egpBox(35,vec2(459+1,443+1),vec2(2,14)),This:egpAngle(35,-45),This:egpColor(35,0,0,0,150)
  132. This:egpBox(36,vec2(469+1,443+1),vec2(2,14)),This:egpAngle(36,45),This:egpColor(36,0,0,0,150)
  133. This:egpBox(37,vec2(464,448),vec2(2,20))
  134. This:egpBox(38,vec2(459,443),vec2(2,14)),This:egpAngle(38,-45)
  135. This:egpBox(39,vec2(469,443),vec2(2,14)),This:egpAngle(39,45)
  136.  
  137. This:egpBox(40,vec2(465,476),vec2(21,21)),This:egpColor(40,0,0,0,0) #Down
  138. This:egpBox(41,vec2(465,449),vec2(21,21)),This:egpColor(41,0,0,0,0) #Up
  139.  
  140. }
  141.  
  142. function void wirelink:loadDrawUpDownSite(){
  143.  
  144. if(S==1){
  145. This:egpColor(37,255,255,255,128),This:egpColor(38,255,255,255,128),This:egpColor(39,255,255,255,128)
  146. This:egpColor(31,255,255,255,255),This:egpColor(32,255,255,255,255),This:egpColor(33,255,255,255,255)
  147. }
  148. if(S==2){
  149. This:egpColor(31,255,255,255,128),This:egpColor(32,255,255,255,128),This:egpColor(33,255,255,255,128)
  150. This:egpColor(37,255,255,255,255),This:egpColor(38,255,255,255,255),This:egpColor(39,255,255,255,255)
  151. }}
  152.  
  153. function void wirelink:drawWepBoxes(){
  154. I=1
  155. while(I<16){
  156. PI=I*28-28
  157. This:egpBox(50+I,vec2(208,92+PI),vec2(382,26))
  158. This:egpColor(50+I,255,255,255,22)
  159. I++
  160. }}
  161.  
  162.  
  163. function void wirelink:drawWepNamesB(){
  164. I=1
  165. while(I<16){
  166. PI=I*28-28
  167. This:egpText(65+I,"",vec2(25+1,92+1+PI))
  168. This:egpAlign(65+I,0,1)
  169. This:egpFont(65+I,"Courier New")
  170. This:egpColor(65+I,0,0,0,0)
  171. I++
  172. }}
  173.  
  174.  
  175. function void wirelink:drawWepNamesW(){
  176. I=1
  177. while(I<16){
  178. PI=I*28-28
  179. This:egpText(82+I,"",vec2(25,92+PI))
  180. This:egpAlign(82+I,0,1)
  181. This:egpFont(82+I,"Courier New")
  182. This:egpColor(82+I,0,0,0,0)
  183. I++
  184. }}
  185.  
  186. function void wirelink:drawBetalScreen(){
  187.  
  188. This:egpClear()
  189. This:egpBox(1,vec2(256,256),vec2(512,512)),This:egpMaterial(1,"console/background06")
  190. This:egpBox(2,vec2(256,256),vec2(512,512)),This:egpColor(2,255,255,255,25),if(AntiWhite==1){This:egpColor(2,100,100,100,255)}
  191. This:egpBox(3,vec2(128,462),vec2(256,100)),This:egpColor(3,45,45,45,150)
  192. This:egpBox(4,vec2(384,462),vec2(256,100)),This:egpColor(4,45,45,45,200)
  193. This:egpText(5,"Pris: "+Pris+" DKK",vec2(128+1,462+1)),This:egpAlign(5,1,1),This:egpSize(5,35),This:egpColor(5,0,0,0,150)
  194. This:egpText(6,"Pris: "+Pris+" DKK",vec2(128,462)),This:egpAlign(6,1,1),This:egpSize(6,35)
  195. This:egpText(7,"Betal",vec2(384+1,462+1)),This:egpAlign(7,1,1),This:egpSize(7,45),This:egpColor(7,0,0,0,150)
  196. This:egpText(8,"Betal",vec2(384,462)),This:egpAlign(8,1,1),This:egpSize(8,45)
  197. This:egpText(9,"McDonald's",vec2(256+2,32+1)),This:egpAlign(9,1,1),This:egpSize(9,50),This:egpFont(9,"Courier New"),This:egpColor(9,0,0,0,150)
  198. This:egpText(10,"McDonald's",vec2(256,32)),This:egpAlign(10,1,1),This:egpSize(10,50),This:egpFont(10,"Courier New")
  199. This:egpBox(11,vec2(256+1,50+1),vec2(266,1)),This:egpColor(11,0,0,0,150)
  200. This:egpBox(12,vec2(256,50),vec2(266,1))
  201. This:egpText(13,"FastGuns",vec2(243+1,19+1)),This:egpAlign(13,1,1),This:egpSize(13,15),This:egpColor(13,0,0,0,150),This:egpFont(13,"Courier New")
  202. This:egpText(14,"FastGuns",vec2(243,19)),This:egpAlign(14,1,1),This:egpSize(14,15),This:egpFont(14,"Courier New")
  203.  
  204. }
  205. ##################
  206. ## Function ##
  207. ##################
  208.  
  209. #####################
  210. ## Wait-Profit ##
  211. #####################
  212.  
  213. printChat("Tak fordi du benytter dig af McDonald's v3.")
  214. printChat("For at starte E2`en skal du skrive: '!profit <profit>', Din profit kan minimum v"+ae()+"re 100 DKK.")
  215. E:egpClear()
  216. E:egpBox(1,vec2(256,256),vec2(512,512)),E:egpColor(1,45,45,45,255)
  217. E:egpText(2,"Velkommen til",vec2(256+2,206+1)),E:egpAlign(2,1,1),E:egpSize(2,50),E:egpColor(2,0,0,0,150)
  218. E:egpText(3,"Velkommen til",vec2(256,206)),E:egpAlign(3,1,1),E:egpSize(3,50)
  219. E:egpText(4,"McDonald's v3",vec2(256+2,256+1)),E:egpAlign(4,1,1),E:egpSize(4,50),E:egpColor(4,0,0,0,150)
  220. E:egpText(5,"McDonald's v3",vec2(256,256)),E:egpAlign(5,1,1),E:egpSize(5,50)
  221. E:egpText(6,"- OBS - L"+ae()+"s venligst chatten...",vec2(256,306)),E:egpAlign(6,1,1),E:egpSize(6,12)
  222.  
  223. EB:drawBetalScreen()
  224.  
  225. #####################
  226. ## Wait-Profit ##
  227. #####################
  228.  
  229.  
  230. }
  231.  
  232.  
  233. if(clk("1")){stoptimer("1"),E:drawScreen1()}
  234. if(clk("2")){stoptimer("2"),E:drawScreen2()}
  235. if(clk("3")){stoptimer("3"),E:drawWepBoxes()}
  236. if(clk("4")){stoptimer("4"),E:drawWepNamesB()}
  237. if(clk("5")){stoptimer("5"),E:drawWepNamesW()}
  238. if(clk("6")){stoptimer("6"),I=1,while(I<16){E:egpColor(65+I,0,0,0,150),E:egpColor(82+I,255,255,255,255),I++},S=1}
  239.  
  240. if(clk("CheckSite")){stoptimer("CheckSite")
  241. timer("CheckSiteLoad",500)
  242. timer("checkSiteColors",2)
  243. E:drawPressUpDownSite()
  244. E:loadDrawUpDownSite()
  245.  
  246. if(S==1){
  247.  
  248.  
  249. ##Vep-1##
  250. E:egpSetText(66,"1. "+V1+" - "+P1+" DKK")
  251. E:egpSetText(83,"1. "+V1+" - "+P1+" DKK")
  252. ##Vep-2##
  253. E:egpSetText(67,"2. "+V2+" - "+P2+" DKK")
  254. E:egpSetText(84,"2. "+V2+" - "+P2+" DKK")
  255. ##Vep-3##
  256. E:egpSetText(68,"3."+V3+" - "+P3+" DKK")
  257. E:egpSetText(85,"3."+V3+" - "+P3+" DKK")
  258. ##Vep-4##
  259. E:egpSetText(69,"4."+V4+" - "+P4+" DKK")
  260. E:egpSetText(86,"4."+V4+" - "+P4+" DKK")
  261. ##Vep-5##
  262. E:egpSetText(70,"5."+V5+" - "+P5+" DKK")
  263. E:egpSetText(87,"5."+V5+" - "+P5+" DKK")
  264. ##Vep-6##
  265. E:egpSetText(71,"6."+V6+" - "+P6+" DKK")
  266. E:egpSetText(88,"6."+V6+" - "+P6+" DKK")
  267. ##Vep-7##
  268. E:egpSetText(72,"7."+V7+" - "+P7+" DKK")
  269. E:egpSetText(89,"7."+V7+" - "+P7+" DKK")
  270. }
  271.  
  272.  
  273. elseif(S==2){
  274. ##Vep-16##
  275. E:egpSetText(66,"16. "+V16+" - "+P16+" DKK")
  276. E:egpSetText(83,"16. "+V16+" - "+P16+" DKK")
  277. ##Vep-17##
  278. E:egpSetText(67,"17. "+V17+" - "+P17+" DKK")
  279. E:egpSetText(84,"17. "+V17+" - "+P17+" DKK")
  280. ##Vep-18##
  281. E:egpSetText(68,"18."+V18+" - "+P18+" DKK")
  282. E:egpSetText(85,"18."+V18+" - "+P18+" DKK")
  283. ##Vep-19##
  284. E:egpSetText(69,"19."+V19+" - "+P19+" DKK")
  285. E:egpSetText(86,"19."+V19+" - "+P19+" DKK")
  286. ##Vep-20##
  287. E:egpSetText(70,"20."+V20+" - "+P20+" DKK")
  288. E:egpSetText(87,"20."+V20+" - "+P20+" DKK")
  289. ##Vep-21##
  290. E:egpSetText(71,"21."+V21+" - "+P21+" DKK")
  291. E:egpSetText(88,"21."+V21+" - "+P21+" DKK")
  292. ##Vep-22##
  293. E:egpSetText(72,"22."+V22+" - "+P22+" DKK")
  294. E:egpSetText(89,"22."+V22+" - "+P22+" DKK")
  295. }
  296.  
  297.  
  298. }
  299.  
  300. if(clk("CheckSiteLoad")){
  301. stoptimer("CheckSiteLoad")
  302. if(S==1){
  303. ##Vep-8##
  304. E:egpSetText(73,"8."+V8+" - "+P8+" DKK")
  305. E:egpSetText(90,"8."+V8+" - "+P8+" DKK")
  306. ##Vep-9##
  307. E:egpSetText(74,"9."+V9+" - "+P9+" DKK")
  308. E:egpSetText(91,"9."+V9+" - "+P9+" DKK")
  309. ##Vep-10##
  310. E:egpSetText(75,"10."+V10+" - "+P10+" DKK")
  311. E:egpSetText(92,"10."+V10+" - "+P10+" DKK")
  312. ##Vep-11##
  313. E:egpSetText(76,"11."+V11+" - "+P11+" DKK")
  314. E:egpSetText(93,"11."+V11+" - "+P11+" DKK")
  315. ##Vep-12##
  316. E:egpSetText(77,"12."+V12+" - "+P12+" DKK")
  317. E:egpSetText(94,"12."+V12+" - "+P12+" DKK")
  318. ##Vep-13##
  319. E:egpSetText(78,"13."+V13+" - "+P13+" DKK")
  320. E:egpSetText(95,"13."+V13+" - "+P13+" DKK")
  321. ##Vep-14##
  322. E:egpSetText(79,"14."+V14+" - "+P14+" DKK")
  323. E:egpSetText(96,"14."+V14+" - "+P14+" DKK")
  324. ##Vep-15##
  325. E:egpSetText(80,"15."+V15+" - "+P15+" DKK")
  326. E:egpSetText(97,"15."+V15+" - "+P15+" DKK")
  327. }
  328. elseif(S==2){
  329. ##Vep-23##
  330. E:egpSetText(73,"23."+V23+" - "+P23+" DKK")
  331. E:egpSetText(90,"23."+V23+" - "+P23+" DKK")
  332. ##Vep-24##
  333. E:egpSetText(74,"24."+V24+" - "+P24+" DKK")
  334. E:egpSetText(91,"24."+V24+" - "+P24+" DKK")
  335. ##Vep-25##
  336. E:egpSetText(75,"25."+V25+" - "+P25+" DKK")
  337. E:egpSetText(92,"25."+V25+" - "+P25+" DKK")
  338. ##Vep-26##
  339. E:egpSetText(76,"26."+V26+" - "+P26+" DKK")
  340. E:egpSetText(93,"26."+V26+" - "+P26+" DKK")
  341. ##Vep-27##
  342. E:egpSetText(77,"27."+V27+" - "+P27+" DKK")
  343. E:egpSetText(94,"27."+V27+" - "+P27+" DKK")
  344. ##Vep-28##
  345. E:egpSetText(78,"28."+V28+" - "+P28+" DKK")
  346. E:egpSetText(95,"28."+V28+" - "+P28+" DKK")
  347. ##Vep-29##
  348. E:egpSetText(79,"29."+V29+" - "+P29+" DKK")
  349. E:egpSetText(96,"29."+V29+" - "+P29+" DKK")
  350. ##Vep-30##
  351. E:egpSetText(80,"30."+V30+" - "+P30+" DKK")
  352. E:egpSetText(97,"30."+V30+" - "+P30+" DKK")
  353. }
  354.  
  355. }
  356. if(clk("checkSiteColors")){
  357. stoptimer("checkSiteColors")
  358.  
  359. if(S==1){
  360. if(W1==1){E:egpColor(51,255,255,255,64)}else{E:egpColor(51,255,255,255,22)}
  361. if(W2==1){E:egpColor(52,255,255,255,64)}else{E:egpColor(52,255,255,255,22)}
  362. if(W3==1){E:egpColor(53,255,255,255,64)}else{E:egpColor(53,255,255,255,22)}
  363. if(W4==1){E:egpColor(54,255,255,255,64)}else{E:egpColor(54,255,255,255,22)}
  364. if(W5==1){E:egpColor(55,255,255,255,64)}else{E:egpColor(55,255,255,255,22)}
  365. if(W6==1){E:egpColor(56,255,255,255,64)}else{E:egpColor(56,255,255,255,22)}
  366. if(W7==1){E:egpColor(57,255,255,255,64)}else{E:egpColor(57,255,255,255,22)}
  367. if(W8==1){E:egpColor(58,255,255,255,64)}else{E:egpColor(58,255,255,255,22)}
  368. if(W9==1){E:egpColor(59,255,255,255,64)}else{E:egpColor(59,255,255,255,22)}
  369. if(W10==1){E:egpColor(60,255,255,255,64)}else{E:egpColor(60,255,255,255,22)}
  370. if(W11==1){E:egpColor(61,255,255,255,64)}else{E:egpColor(61,255,255,255,22)}
  371. if(W12==1){E:egpColor(62,255,255,255,64)}else{E:egpColor(62,255,255,255,22)}
  372. if(W13==1){E:egpColor(63,255,255,255,64)}else{E:egpColor(63,255,255,255,22)}
  373. if(W14==1){E:egpColor(64,255,255,255,64)}else{E:egpColor(64,255,255,255,22)}
  374. if(W15==1){E:egpColor(65,255,255,255,64)}else{E:egpColor(65,255,255,255,22)}
  375. }
  376.  
  377. elseif(S==2){
  378. if(W16==1){E:egpColor(51,255,255,255,64)}else{E:egpColor(51,255,255,255,22)}
  379. if(W17==1){E:egpColor(52,255,255,255,64)}else{E:egpColor(52,255,255,255,22)}
  380. if(W18==1){E:egpColor(53,255,255,255,64)}else{E:egpColor(53,255,255,255,22)}
  381. if(W19==1){E:egpColor(54,255,255,255,64)}else{E:egpColor(54,255,255,255,22)}
  382. if(W20==1){E:egpColor(55,255,255,255,64)}else{E:egpColor(55,255,255,255,22)}
  383. if(W21==1){E:egpColor(56,255,255,255,64)}else{E:egpColor(56,255,255,255,22)}
  384. if(W22==1){E:egpColor(57,255,255,255,64)}else{E:egpColor(57,255,255,255,22)}
  385. if(W23==1){E:egpColor(58,255,255,255,64)}else{E:egpColor(58,255,255,255,22)}
  386. if(W24==1){E:egpColor(59,255,255,255,64)}else{E:egpColor(59,255,255,255,22)}
  387. if(W25==1){E:egpColor(60,255,255,255,64)}else{E:egpColor(60,255,255,255,22)}
  388. if(W26==1){E:egpColor(61,255,255,255,64)}else{E:egpColor(61,255,255,255,22)}
  389. if(W27==1){E:egpColor(62,255,255,255,64)}else{E:egpColor(62,255,255,255,22)}
  390. if(W28==1){E:egpColor(63,255,255,255,64)}else{E:egpColor(63,255,255,255,22)}
  391. if(W29==1){E:egpColor(64,255,255,255,64)}else{E:egpColor(64,255,255,255,22)}
  392. if(W30==1){E:egpColor(65,255,255,255,64)}else{E:egpColor(65,255,255,255,22)}
  393.  
  394. }
  395. }
  396.  
  397. if(~U & U & ops()<100){
  398. if(E:egpButton(23,U)){Pris=0,W1=0,W2=0,W3=0,W4=0,W5=0,W6=0,W7=0,W8=0,W9=0,W10=0,
  399. W11=0,W12=0,W13=0,W14=0,W15=0,W16=0,W17=0,W18=0,W19=0,W20=0,
  400. W21=0,W22=0,W23=0,W24=0,W25=0,W26=0,W27=0,W28=0,W29=0,W30=0
  401. timer("checkSiteColors",2),timer("Update-Price",2)
  402. }
  403. elseif(E:egpButton(44,U)){
  404. if(Odre==0){
  405. Odre=1
  406. E:egpColor(44,255,0,0,25)
  407. E:egpSetText(45,"Betaling")
  408. E:egpSetText(46,"Betaling")
  409. E:egpSetText(47,"klar.")
  410. E:egpSetText(48,"klar.")
  411. }
  412. elseif(Odre==1){
  413. Odre=0
  414. E:egpColor(44,0,255,0,25)
  415. E:egpSetText(45,"Aventer")
  416. E:egpSetText(46,"Aventer")
  417. E:egpSetText(47,"odre.")
  418. E:egpSetText(48,"odre.")
  419.  
  420.  
  421. }
  422.  
  423. }
  424. if(S==1 & Odre==0){
  425. if(E:egpButton(40,U)){S=2,timer("CheckSite",10)}
  426. elseif(E:egpButton(51,U)){
  427. timer("Update-Price",50)
  428. if(W1==0){W1 = 1 E:egpColor(51,255,255,255,64),Pris+=P1}else{W1=0,E:egpColor(52,255,255,255,22),Pris-=P1}}
  429. elseif(E:egpButton(52,U)){
  430. timer("Update-Price",50)
  431. if(W2==0){W2 = 1 E:egpColor(52,255,255,255,64),Pris+=P2}else{W2=0,E:egpColor(52,255,255,255,22),Pris-=P2}}
  432. elseif(E:egpButton(53,U)){
  433. timer("Update-Price",50)
  434. if(W3==0){W3 = 1 E:egpColor(53,255,255,255,64),Pris+=P3}else{W3=0,E:egpColor(53,255,255,255,22),Pris-=P3}}
  435. elseif(E:egpButton(54,U)){
  436. timer("Update-Price",50)
  437. if(W4==0){W4 = 1 E:egpColor(54,255,255,255,64),Pris+=P4}else{W4=0,E:egpColor(54,255,255,255,22),Pris-=P4}}
  438. elseif(E:egpButton(55,U)){
  439. timer("Update-Price",50)
  440. if(W5==0){W5 = 1 E:egpColor(55,255,255,255,64),Pris+=P5}else{W5=0,E:egpColor(55,255,255,255,22),Pris-=P5}}
  441. elseif(E:egpButton(56,U)){
  442. timer("Update-Price",50)
  443. if(W6==0){W6 = 1 E:egpColor(56,255,255,255,64),Pris+=P6}else{W6=0,E:egpColor(56,255,255,255,22),Pris-=P6}}
  444. elseif(E:egpButton(57,U)){
  445. timer("Update-Price",50)
  446. if(W7==0){W7 = 1 E:egpColor(57,255,255,255,64),Pris+=P7}else{W7=0,E:egpColor(57,255,255,255,22),Pris-=P7}}
  447. elseif(E:egpButton(58,U)){
  448. timer("Update-Price",50)
  449. if(W8==0){W8 = 1 E:egpColor(58,255,255,255,64),Pris+=P8}else{W8=0,E:egpColor(58,255,255,255,22),Pris-=P8}}
  450. elseif(E:egpButton(59,U)){
  451. timer("Update-Price",50)
  452. if(W9==0){W9 = 1 E:egpColor(59,255,255,255,64),Pris+=P9}else{W9=0,E:egpColor(59,255,255,255,22),Pris-=P9}}
  453. elseif(E:egpButton(60,U)){
  454. timer("Update-Price",50)
  455. if(W10==0){W10 = 1 E:egpColor(60,255,255,255,64),Pris+=P10}else{W10=0,E:egpColor(60,255,255,255,22),Pris-=P10}}
  456. elseif(E:egpButton(61,U)){
  457. timer("Update-Price",50)
  458. if(W11==0){W11 = 1 E:egpColor(61,255,255,255,64),Pris+=P11}else{W11=0,E:egpColor(61,255,255,255,22),Pris-=P11}}
  459. elseif(E:egpButton(62,U)){
  460. timer("Update-Price",50)
  461. if(W12==0){W12 = 1 E:egpColor(62,255,255,255,64),Pris+=P12}else{W12=0,E:egpColor(62,255,255,255,22),Pris-=P12}}
  462. elseif(E:egpButton(63,U)){
  463. timer("Update-Price",50)
  464. if(W13==0){W13 = 1 E:egpColor(63,255,255,255,64),Pris+=P13}else{W13=0,E:egpColor(63,255,255,255,22),Pris-=P13}}
  465. elseif(E:egpButton(64,U)){
  466. timer("Update-Price",50)
  467. if(W14==0){W14 = 1 E:egpColor(64,255,255,255,64),Pris+=P14}else{W14=0,E:egpColor(64,255,255,255,22),Pris-=P14}}
  468. elseif(E:egpButton(65,U)){
  469. timer("Update-Price",50)
  470. if(W15==0){W15 = 1 E:egpColor(65,255,255,255,64),Pris+=P15}else{W15=0,E:egpColor(65,255,255,255,22),Pris-=P15}}
  471. }
  472.  
  473. elseif(S==2 & Odre==0){
  474. if(E:egpButton(41,U)){S=1,timer("CheckSite",10)}
  475. elseif(E:egpButton(51,U)){
  476. timer("Update-Price",50)
  477. if(W16==0){W16 = 1 E:egpColor(51,255,255,255,64),Pris+=P16}else{W16=0,E:egpColor(51,255,255,255,22),Pris-=P16}}
  478. elseif(E:egpButton(52,U)){
  479. timer("Update-Price",50)
  480. if(W17==0){W17 = 1 E:egpColor(52,255,255,255,64),Pris+=P17}else{W17=0,E:egpColor(52,255,255,255,22),Pris-=P17}}
  481. elseif(E:egpButton(53,U)){
  482. timer("Update-Price",50)
  483. if(W18==0){W18 = 1 E:egpColor(53,255,255,255,64),Pris+=P18}else{W18=0,E:egpColor(53,255,255,255,22),Pris-=P18}}
  484. elseif(E:egpButton(54,U)){
  485. timer("Update-Price",50)
  486. if(W19==0){W19 = 1 E:egpColor(54,255,255,255,64),Pris+=P19}else{W19=0,E:egpColor(54,255,255,255,22),Pris-=P19}}
  487. elseif(E:egpButton(55,U)){
  488. timer("Update-Price",50)
  489. if(W20==0){W20 = 1 E:egpColor(55,255,255,255,64),Pris+=P20}else{W20=0,E:egpColor(55,255,255,255,22),Pris-=P20}}
  490. elseif(E:egpButton(56,U)){
  491. timer("Update-Price",50)
  492. if(W21==0){W21 = 1 E:egpColor(56,255,255,255,64),Pris+=P21}else{W21=0,E:egpColor(56,255,255,255,22),Pris-=P21}}
  493. elseif(E:egpButton(57,U)){
  494. timer("Update-Price",50)
  495. if(W22==0){W22 = 1 E:egpColor(57,255,255,255,64),Pris+=P22}else{W22=0,E:egpColor(57,255,255,255,22),Pris-=P22}}
  496. elseif(E:egpButton(58,U)){
  497. timer("Update-Price",50)
  498. if(W23==0){W23 = 1 E:egpColor(58,255,255,255,64),Pris+=P23}else{W23=0,E:egpColor(58,255,255,255,22),Pris-=P23}}
  499. elseif(E:egpButton(59,U)){
  500. timer("Update-Price",50)
  501. if(W24==0){W24 = 1 E:egpColor(59,255,255,255,64),Pris+=P24}else{W24=0,E:egpColor(59,255,255,255,22),Pris-=P24}}
  502. elseif(E:egpButton(60,U)){
  503. timer("Update-Price",50)
  504. if(W25==0){W25 = 1 E:egpColor(60,255,255,255,64),Pris+=P25}else{W25=0,E:egpColor(60,255,255,255,22),Pris-=P25}}
  505. elseif(E:egpButton(61,U)){
  506. timer("Update-Price",50)
  507. if(W26==0){W26 = 1 E:egpColor(61,255,255,255,64),Pris+=P26}else{W26=0,E:egpColor(61,255,255,255,22),Pris-=P26}}
  508. elseif(E:egpButton(62,U)){
  509. timer("Update-Price",50)
  510. if(W27==0){W27 = 1 E:egpColor(62,255,255,255,64),Pris+=P27}else{W27=0,E:egpColor(62,255,255,255,22),Pris-=P27}}
  511. elseif(E:egpButton(63,U)){
  512. timer("Update-Price",50)
  513. if(W28==0){W28 = 1 E:egpColor(63,255,255,255,64),Pris+=P28}else{W28=0,E:egpColor(63,255,255,255,22),Pris-=P28}}
  514. elseif(E:egpButton(64,U)){
  515. timer("Update-Price",50)
  516. if(W29==0){W29 = 1 E:egpColor(64,255,255,255,64),Pris+=P29}else{W29=0,E:egpColor(64,255,255,255,22),Pris-=P29}}
  517. elseif(E:egpButton(65,U)){
  518. timer("Update-Price",50)
  519. if(W30==0){W30 = 1 E:egpColor(65,255,255,255,64),Pris+=P30}else{W230=0,E:egpColor(65,255,255,255,22),Pris-=P30}}
  520.  
  521. }
  522. }
  523.  
  524. if(~UB & UB & ops()<100 & Odre==1){
  525.  
  526. if(EB:egpButton(1,UB)){
  527. moneyRequest(UB,Pris,"McDonald's v3")
  528. SU=UB:steamID()
  529. }
  530. }
  531.  
  532. if(moneyClk("McDonald's v3")){
  533. concmd("say /pm "+SU+" | McDonald's | Tak for dit k"+oe()+"b. Du vil snart modtage din ordre.")
  534.  
  535. if(W1==1){SP+=P1-Profit,AK++}
  536. if(W2==1){SP+=P2-Profit,AK++}
  537. if(W3==1){SP+=P3-Profit,AK++}
  538. if(W4==1){SP+=P4-Profit,AK++}
  539. if(W5==1){SP+=P5-Profit,AK++}
  540. if(W6==1){SP+=P6-Profit,AK++}
  541. if(W7==1){SP+=P7-Profit,AK++}
  542. if(W8==1){SP+=P8-Profit,AK++}
  543. if(W9==1){SP+=P9-Profit,AK++}
  544. if(W10==1){SP+=P10-Profit,AK++}
  545. if(W11==1){SP+=P11-Profit,AK++}
  546. if(W12==1){SP+=P12-Profit,AK++}
  547. if(W13==1){SP+=P13-Profit,AK++}
  548. if(W14==1){SP+=P14-Profit,AK++}
  549. if(W15==1){SP+=P15-Profit,AK++}
  550. if(W16==1){SP+=P16-Profit,AK++}
  551. if(W17==1){SP+=P17-Profit,AK++}
  552. if(W18==1){SP+=P18-Profit,AK++}
  553. if(W19==1){SP+=P19-Profit,AK++}
  554. if(W20==1){SP+=P20-Profit,AK++}
  555. if(W21==1){SP+=P21-Profit,AK++}
  556. if(W22==1){SP+=P22-Profit,AK++}
  557. if(W23==1){SP+=P23-Profit,AK++}
  558. if(W24==1){SP+=P24-Profit,AK++}
  559. if(W25==1){SP+=P25-Profit,AK++}
  560. if(W26==1){SP+=P26-Profit,AK++}
  561. if(W27==1){SP+=P27-Profit,timer("Big-Wep Menu",1600),AKM++}
  562. if(W28==1){SP+=P28-Profit,timer("Mini-Wep Menu",3200),AKM++}
  563. if(W29==1){SP+=P29-Profit,timer("Base Menu",4800),AKM++}
  564. if(W30==1){SP+=P30-Profit,timer("Big-Bang Menu",6400),AKM++}
  565. SP+LPS
  566. moneyGive(findPlayerBySteamID(PersonSteamID),SP)
  567. moneyGive(findPlayerBySteamID(PersonSteamID),LPS)
  568. SP=0
  569. SU=""
  570.  
  571. }
  572. if(clk("Big-Wep Menu")){stoptimer("Big-Wep Menu"),concmd("say /pm "+PersonSteamID+" | McDonald's | Big-Wep Menu - 1x Raging Bull, 1x AK-47, 1x M82.")}
  573.  
  574. if(clk("Mini-Wep Menu")){stoptimer("Mini-Wep Menu"),concmd("say /pm "+PersonSteamID+" | McDonald's | Mini-Wep Menu - 1x Deagle, 1x M3 Shotgun, 1x M4A1.")}
  575.  
  576. if(clk("Base Menu")){stoptimer("Base Menu"),concmd("say /pm "+PersonSteamID+" | McDonald's | Base Menu - 1x Raging Bull, 1x M3 Shotgun, 1xAK-47, 1x M82.")}
  577.  
  578. if(clk("Big-Bang Menu")){stoptimer("Big-Bang Menu"),concmd("say /pm "+PersonSteamID+" | McDonald's | Big-Bang Menu - 1x Raging Bull, 1x M3 Shotgun, 1x SKS, 1x AK-47, 1x M14, 1x M82")}
  579.  
  580. if(clk("Update-Price")){
  581. stoptimer("Update-Price")
  582. E:egpSetText(15,Pris+" DKK")
  583. E:egpSetText(16,Pris+" DKK")
  584. EB:egpSetText(5,"Pris: "+Pris+" DKK")
  585. EB:egpSetText(6,"Pris: "+Pris+" DKK")
  586. }
  587.  
  588.  
  589. runOnChat(1)
  590. if(chatClk()){
  591. A = owner():lastSaid():explode(" ")
  592. if(ops()<100){
  593. if(A[1,string]=="!help" & chatClk(owner())){
  594. hideChat(1)
  595. printChat("Du kan skrive !profit for at "+ae()+"ndre profiten.") ###DONT EDIT!!!
  596. printChat("Du kan skrive !help for f"+aa()+" hj"+ae()+"lp.") ###DONT EDIT!!!
  597. printChat("Du kan skrive !salg for at se hvor meget salg du har haft idag.") ###DONT EDIT!!!
  598. printChat("Copyright McDonald's - All rights reserved") ###DONT EIDT!!!
  599. }
  600. elseif(A[1,string]=="!profit" & chatClk(owner())){
  601. hideChat(1)
  602. Profit=A[2,string]:toNumber()
  603. if(Profit<101){printChat("Din profit skal v"+ae()+"re h"+oe()+"jre end 100 DKK.")}
  604.  
  605. V1="AK-47"
  606. P1=2990+Profit
  607. V2="AK-74"
  608. P2=2890+Profit
  609. V3="Famas"
  610. P3=2890+Profit
  611. V4="G3A3"
  612. P4=3190+Profit
  613. V5="Deagle"
  614. P5=740+Profit
  615. V6="Glock-20"
  616. P6=540+Profit
  617. V7="G36C"
  618. P7=3090+Profit
  619. V8="M4A1"
  620. P8=3090+Profit
  621. V9="KS-23"
  622. P9=2390+Profit
  623. V10="M14"
  624. P10=4000+Profit
  625. V11="M82"
  626. P11=6970+Profit
  627. V12="M24"
  628. P12=5580+Profit
  629. V13="M21"
  630. P13=5590+Profit
  631. V14="Raging Bull"
  632. P14=690+Profit
  633. V15="M1911"
  634. P15=470+Profit
  635.  
  636. V16="OTs-33 Pernach"
  637. P16=840+Profit
  638. V17="P228"
  639. P17=470+Profit
  640. V18="PP-19 Bizon"
  641. P18=2090+Profit
  642. V19="MP5"
  643. P19=2190+Profit
  644. V20="SKS"
  645. P20=4780+Profit
  646. V21="RPK-47"
  647. P21=3780+Profit
  648. V22="M3 Shotgun"
  649. P22=2590+Profit
  650. V23="SR-25"
  651. P23=5480+Profit
  652. V24="SG 552"
  653. P24=2990+Profit
  654. V25="SG 550"
  655. P25=3090+Profit
  656. V26="UZI"
  657. P26=2090+Profit
  658. V27="Big-Wep Menu"
  659. P27=6000+Profit
  660. V28="Mini-Wep Menu"
  661. P28=3500+Profit
  662. V29="Base Menu"
  663. P29=7000+Profit
  664. V30="Big-Bang Menu"
  665. P30=12500+Profit
  666. if(Start==0){
  667. Start=1
  668. printChat("Profit "+ae()+"ndret til: "+Profit+" - E2 vil genstarte.")
  669.  
  670. timer("1",250)
  671. timer("2",500)
  672. timer("3",650)
  673. timer("4",850)
  674. timer("5",1000)
  675. timer("6",1250)
  676. timer("CheckSite",1500)
  677. }
  678. elseif(Start==1){
  679. timer("CheckSite",1250)
  680. timer("Update-Price",2)
  681. printChat("Profit "+ae()+"ndret til: "+Profit+".")
  682. Pris=0,W1=0,W2=0,W3=0,W4=0,W5=0,W6=0,W7=0,W8=0,W9=0,W10=0,
  683. W11=0,W12=0,W13=0,W14=0,W15=0,W16=0,W17=0,W18=0,W19=0,W20=0,
  684. W21=0,W22=0,W23=0,W24=0,W25=0,W26=0,W27=0,W28=0,W29=0,W30=0
  685.  
  686. }
  687. }
  688. elseif(A[1,string]=="!salg" & chatClk(owner())){
  689. hideChat(1)
  690. printChat("Du har solgt: "+AK+" V"+aa()+"ben idag, og du har solgt: "+AKM+" menu`er idag.")
  691. }
  692.  
  693. }
  694. }
  695. E:egpCircleOutline(999,vec2(256,256),vec2(4,4))
  696. E:egpColor(999,45,45,45,225)
  697. E:egpParentToCursor(999)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement