Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @name McDonald`s | Version 1,0
- @inputs E:wirelink U:entity EBetal:wirelink UBetal:entity
- @outputs
- @persist Pris S [S1V1,S1V2,S1V3,S1V4,S1V5,S1V6,S1V7,S1V8,S1V9,S1V10,S1V11,S1V12,S1V13,S1V14,S2V1,S2V2,S2V3,S2V4,S2V5,S2V6,S2V7,S2V8,S2V9,S2V10,S2V11,S2V12,S2V13,S2V14,SendPenge]:number Profit Person:string
- @trigger all
- if(duped()){reset()}
- if(first() | dupefinished()){
- concmd("say !info")
- ##Settings##
- Person = "DoktorDim" #Person der styre kassen.
- Profit = 200
- ##VaabenPriser Settings##
- S1V1 = 1500+Profit #Ak-47
- S1V2 = 1450+Profit #Ak-74
- S1V3 = 1450+Profit #Famas
- S1V4 = 1600+Profit #G3A3
- S1V5 = 650+Profit #Deagle
- S1V6 = 550+Profit #Glock-20
- S1V7 = 1550+Profit #G36C
- S1V8 = 1550+Profit #M4A1
- S1V9 = 1200+Profit #KS-23
- S1V10 = 2000+Profit #M14
- S1V11 = 3500+Profit #M82
- S1V12 = 2800+Profit #M24
- S1V13 = 3000+Profit #M21
- S1V14 = 750+Profit #Raging Bull
- S2V1 = 500+Profit #M1911
- S2V2 = 800+Profit #OTs-33 Pernach
- S2V3 = 600+Profit #P228
- S2V4 = 1050+Profit #PP-19 Bizon
- S2V5 = 1100+Profit #MP5
- S2V6 = 2400+Profit #SKS
- S2V7 = 1900+Profit #RPK-47
- S2V8 = 1300+Profit #M3 Shotgun
- S2V9 = 2850+Profit #SR-25
- S2V10 = 1500+Profit #SG 552
- S2V11 = 1550+Profit #SG 550
- S2V12 = 1050+Profit #UZI
- S2V13 = 0 #Ingen ting
- S2V14 = 0 #Ingen ting
- ##Settings##
- setName("McDonald`s
- Version: 1,0
- By DoktorDim")
- ##Function##
- function number wirelink:egpClick(Idx:number,Ply:entity,TopLeft:number)
- {
- TL = This:egpPos(Idx) - This:egpSize(Idx) / 2 * (TopLeft ? 0 : 1)
- BR = This:egpPos(Idx) + This:egpSize(Idx) / (TopLeft ? 1 : 2)
- Cur = This:egpCursor(Ply)
- return inrange(Cur, TL, BR)}
- function string returnTime(){
- SSec=time("sec")
- MMin=time("min")
- HHour=time("hour")+1
- if(SSec<10){Sec="0"+SSec}
- else{Sec=""+SSec}
- if(MMin<10){Min="0"+MMin}
- else{Min=""+MMin}
- if(HHour<10){Hour="0"+HHour} elseif(HHour==24){Hour="00"}
- elseif(HHour==25){Hour="01"} elseif(HHour==26){Hour="02"}
- elseif(HHour==27){Hour="03"} elseif(HHour==28){Hour="04"}
- elseif(HHour==29){Hour="05"} elseif(HHour==30){Hour="06"}
- else{Hour=""+HHour}
- Tid=Hour+":"+Min
- return Tid
- }
- 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)}
- timer("1",1500)
- timer("2",2500)
- Pris = 0
- }
- if(clk("1")){
- stoptimer("1")
- E:egpClear()
- E:egpBox(1,vec2(256,256),vec2(512,512)) E:egpColor(1,255,255,255,150) E:egpMaterial(1,"console/background06")
- E:egpBox(2,vec2(448,256),vec2(128,512)) E:egpColor(2,255,255,255,50)
- E:egpBox(3,vec2(384,256),vec2(1,512)) E:egpColor(3,0,0,0,100)
- E:egpText(4,"Pris:",vec2(448+1,246+1)) E:egpAlign(4,1,1) E:egpSize(4,25) E:egpFont(4,"Courier New") E:egpColor(4,0,0,0,150)
- E:egpText(5,Pris+" DKK",vec2(448+1,266+1)) E:egpAlign(5,1,1) E:egpSize(5,20) E:egpFont(5,"Courier New") E:egpColor(5,0,0,0,150)
- E:egpText(6,"Pris:",vec2(448,246)) E:egpAlign(6,1,1) E:egpSize(6,25) E:egpFont(6,"Courier New")
- E:egpText(7,Pris+" DKK",vec2(448,266)) E:egpAlign(7,1,1) E:egpSize(7,20) E:egpFont(7,"Courier New")
- E:egpBox(8,vec2(448+1,230+1),vec2(100,1)) E:egpColor(8,0,0,0,100)
- E:egpBox(9,vec2(448+1,282+1),vec2(100,1)) E:egpColor(9,0,0,0,100)
- E:egpBox(10,vec2(448,230),vec2(100,1))
- E:egpBox(11,vec2(448,282),vec2(100,1))
- EBetal:egpClear()
- EBetal:egpBox(1,vec2(256,256),vec2(512,512)) EBetal:egpColor(1,255,255,255,50) #EBetal:egpMaterial(1,"console/background02")
- EBetal:egpText(2,"McDonald`s",vec2(256+2,100+1)) EBetal:egpSize(2,50) EBetal:egpAlign(2,1,1) EBetal:egpColor(2,0,0,0,150)
- EBetal:egpText(3,"McDonald`s",vec2(256,100)) EBetal:egpSize(3,50) EBetal:egpAlign(3,1,1)
- EBetal:egpBox(4,vec2(256+1,125+1),vec2(256,2)) EBetal:egpColor(4,0,0,0,150)
- EBetal:egpBox(5,vec2(256,125),vec2(256,2))
- EBetal:egpBox(6,vec2(128,474),vec2(256,76)) EBetal:egpColor(6,255,255,255,25)
- EBetal:egpBox(7,vec2(384,474),vec2(256,76)) EBetal:egpColor(7,255,255,255,75)
- EBetal:egpText(8,"Pris: "+Pris,vec2(128+2,474+1)) EBetal:egpAlign(8,1,1) EBetal:egpSize(8,35) EBetal:egpColor(8,0,0,0,150)
- EBetal:egpText(9,"Pris: "+Pris,vec2(128,474)) EBetal:egpAlign(9,1,1) EBetal:egpSize(9,35)
- EBetal:egpText(10,"Betal",vec2(384+2,474+1)) EBetal:egpAlign(10,1,1) EBetal:egpSize(10,50) EBetal:egpColor(10,0,0,0,150)
- EBetal:egpText(11,"Betal",vec2(384,474)) EBetal:egpAlign(11,1,1) EBetal:egpSize(11,50)
- ##VaabenBoxe##
- E:egpBox(13,vec2(192,35),vec2(346,30)) E:egpColor(13,255,255,255,100)
- E:egpBox(14,vec2(192,69),vec2(346,30)) E:egpColor(14,255,255,255,100)
- E:egpBox(15,vec2(192,103),vec2(346,30)) E:egpColor(15,255,255,255,100)
- E:egpBox(16,vec2(192,137),vec2(346,30)) E:egpColor(16,255,255,255,100)
- E:egpBox(17,vec2(192,171),vec2(346,30)) E:egpColor(17,255,255,255,100)
- E:egpBox(18,vec2(192,205),vec2(346,30)) E:egpColor(18,255,255,255,100)
- E:egpBox(19,vec2(192,239),vec2(346,30)) E:egpColor(19,255,255,255,100)
- E:egpBox(20,vec2(192,273),vec2(346,30)) E:egpColor(20,255,255,255,100)
- E:egpBox(21,vec2(192,307),vec2(346,30)) E:egpColor(21,255,255,255,100)
- E:egpBox(22,vec2(192,341),vec2(346,30)) E:egpColor(22,255,255,255,100)
- E:egpBox(23,vec2(192,375),vec2(346,30)) E:egpColor(23,255,255,255,100)
- E:egpBox(24,vec2(192,409),vec2(346,30)) E:egpColor(24,255,255,255,100)
- E:egpBox(25,vec2(192,443),vec2(346,30)) E:egpColor(25,255,255,255,100)
- E:egpBox(26,vec2(192,477),vec2(346,30)) E:egpColor(26,255,255,255,100)
- E:egpBox(27,vec2(448,315),vec2(100,25)) E:egpColor(27,255,255,255,25)
- E:egpText(28,"Nustil pris",vec2(448+1,315+1)) E:egpSize(28,16) E:egpAlign(28,1,1) E:egpFont(28,"Courier New") E:egpColor(28,0,0,0,150)
- E:egpText(29,"Nustil pris",vec2(448,315)) E:egpSize(29,16) E:egpAlign(29,1,1) E:egpFont(29,"Courier New")
- }
- if(clk("2")){
- stoptimer("2")
- ##VaabenText-Site1 overst##
- E:egpText(30,"",vec2(192+1,35+1)) E:egpColor(30,0,0,0,150) E:egpAlign(30,1,1) E:egpSize(30,23)
- E:egpText(31,"",vec2(192+1,69+1)) E:egpColor(31,0,0,0,150) E:egpAlign(31,1,1) E:egpSize(31,23)
- E:egpText(32,"",vec2(192+1,103+1)) E:egpColor(32,0,0,0,150) E:egpAlign(32,1,1) E:egpSize(32,23)
- E:egpText(33,"",vec2(192+1,137+1)) E:egpColor(33,0,0,0,150) E:egpAlign(33,1,1) E:egpSize(33,23)
- E:egpText(34,"",vec2(192+1,171+1)) E:egpColor(34,0,0,0,150) E:egpAlign(34,1,1) E:egpSize(34,23)
- E:egpText(35,"",vec2(192+1,205+1)) E:egpColor(35,0,0,0,150) E:egpAlign(35,1,1) E:egpSize(35,23)
- E:egpText(36,"",vec2(192+1,239+1)) E:egpColor(36,0,0,0,150) E:egpAlign(36,1,1) E:egpSize(36,23)
- E:egpText(37,"",vec2(192,35)) E:egpAlign(37,1,1) E:egpSize(37,23)
- E:egpText(38,"",vec2(192,69)) E:egpAlign(38,1,1) E:egpSize(38,23)
- E:egpText(39,"",vec2(192,103)) E:egpAlign(39,1,1) E:egpSize(39,23)
- E:egpText(40,"",vec2(192,137)) E:egpAlign(40,1,1) E:egpSize(40,23)
- E:egpText(41,"",vec2(192,171)) E:egpAlign(41,1,1) E:egpSize(41,23)
- E:egpText(42,"",vec2(192,205)) E:egpAlign(42,1,1) E:egpSize(42,23)
- E:egpText(43,"",vec2(192,239)) E:egpAlign(43,1,1) E:egpSize(43,23)
- ##VaabenText-Site1 nederst##
- E:egpText(44,"",vec2(192+1,273+1)) E:egpColor(44,0,0,0,150) E:egpAlign(44,1,1) E:egpSize(44,23)
- E:egpText(45,"",vec2(192+1,307+1)) E:egpColor(45,0,0,0,150) E:egpAlign(45,1,1) E:egpSize(45,23)
- E:egpText(46,"",vec2(192+1,341+1)) E:egpColor(46,0,0,0,150) E:egpAlign(46,1,1) E:egpSize(46,23)
- E:egpText(47,"",vec2(192+1,375+1)) E:egpColor(47,0,0,0,150) E:egpAlign(47,1,1) E:egpSize(47,23)
- E:egpText(48,"",vec2(192+1,409+1)) E:egpColor(48,0,0,0,150) E:egpAlign(48,1,1) E:egpSize(48,23)
- E:egpText(49,"",vec2(192+1,443+1)) E:egpColor(49,0,0,0,150) E:egpAlign(49,1,1) E:egpSize(49,23)
- E:egpText(50,"",vec2(192+1,477+1)) E:egpColor(50,0,0,0,150) E:egpAlign(50,1,1) E:egpSize(50,23)
- E:egpText(51,"",vec2(192,273)) E:egpAlign(51,1,1) E:egpSize(51,23)
- E:egpText(52,"",vec2(192,307)) E:egpAlign(52,1,1) E:egpSize(52,23)
- E:egpText(53,"",vec2(192,341)) E:egpAlign(53,1,1) E:egpSize(53,23)
- E:egpText(54,"",vec2(192,375)) E:egpAlign(54,1,1) E:egpSize(54,23)
- E:egpText(55,"",vec2(192,409)) E:egpAlign(55,1,1) E:egpSize(55,23)
- E:egpText(56,"",vec2(192,443)) E:egpAlign(56,1,1) E:egpSize(56,23)
- E:egpText(57,"",vec2(192,477)) E:egpAlign(57,1,1) E:egpSize(57,23)
- S = 1
- timer("Side",1000)
- E:egpBox(999,vec2(256,256),vec2(20,20))
- E:egpMaterial(999,"vgui/cursors/hand")
- E:egpParentToCursor(999)
- }
- if(clk("Side")){
- stoptimer("Side")
- if(S == 1){
- ##Vaaben 1##
- E:egpSetText(30,"AK-47 - "+S1V1+" DKK")
- E:egpSetText(37,"AK-47 - "+S1V1+" DKK")
- ##Vaaben 2##
- E:egpSetText(31,"AK-74 - "+S1V2+" DKK")
- E:egpSetText(38,"AK-74 - "+S1V2+" DKK")
- ##Vaaben 3##
- E:egpSetText(32,"Famas - "+S1V3+" DKK")
- E:egpSetText(39,"Famas - "+S1V3+" DKK")
- ##Vaaben 4##
- E:egpSetText(33,"G3A3 - "+S1V4+" DKK")
- E:egpSetText(40,"G3A3 - "+S1V4+" DKK")
- ##Vaaben 5##
- E:egpSetText(34,"Deagle - "+S1V5+" DKK")
- E:egpSetText(41,"Deagle - "+S1V5+" DKK")
- ##Vaaben 6##
- E:egpSetText(35,"Glock-20 - "+S1V6+" DKK")
- E:egpSetText(42,"Glock-20 - "+S1V6+" DKK")
- ##Vaaben 7##
- E:egpSetText(36,"G36C - "+S1V7+" DKK")
- E:egpSetText(43,"G36C - "+S1V7+" DKK")
- ##Vaaben 8##
- E:egpSetText(44,"M4A1 - "+S1V8+" DKK")
- E:egpSetText(51,"M4A1 - "+S1V8+" DKK")
- ##Vaaben 9##
- E:egpSetText(45,"KS-23 - "+S1V9+" DKK")
- E:egpSetText(52,"KS-23 - "+S1V9+" DKK")
- ##Vaaben 10##
- E:egpSetText(46,"M14 - "+S1V10+" DKK")
- E:egpSetText(53,"M14 - "+S1V10+" DKK")
- ##Vaaben 11##
- E:egpSetText(47,"M82 - "+S1V11+" DKK")
- E:egpSetText(54,"M82 - "+S1V11+" DKK")
- ##Vaaben 12##
- E:egpSetText(48,"M24 - "+S1V12+" DKK")
- E:egpSetText(55,"M24 - "+S1V12+" DKK")
- ##Vaaben 13##
- E:egpSetText(49,"M21 - "+S1V13+" DKK")
- E:egpSetText(56,"M21 - "+S1V13+" DKK")
- ##Vaaben 14##
- E:egpSetText(50,"Raging Bull - "+S1V14+" DKK")
- E:egpSetText(57,"Raging Bull - "+S1V14+" DKK")
- E:egpBox(58,vec2(440,486),vec2(26,3)) E:egpAngle(58,-45) E:egpColor(58,255,255,255,100)
- E:egpBox(59,vec2(456,486),vec2(26,3)) E:egpAngle(59,45) E:egpColor(59,255,255,255,100)
- E:egpBox(60,vec2(448,486),vec2(50,50)) E:egpColor(60,0,0,0,0)
- E:egpColor(61,0,0,0,0) E:egpColor(62,0,0,0,0) E:egpColor(63,0,0,0,0)
- }
- if(S == 2){
- ##Vaaben 1##
- E:egpSetText(30,"M1911 - "+S2V1+" DKK")
- E:egpSetText(37,"M1911 - "+S2V1+" DKK")
- ##Vaaben 2##
- E:egpSetText(31,"OTs-33 Pernach - "+S2V2+" DKK")
- E:egpSetText(38,"OTs-33 Pernach - "+S2V2+" DKK")
- ##Vaaben 3##
- E:egpSetText(32,"P228 - "+S2V3+" DKK")
- E:egpSetText(39,"P228 - "+S2V3+" DKK")
- ##Vaaben 4##
- E:egpSetText(33,"PP-19 Bizon - "+S2V4+" DKK")
- E:egpSetText(40,"PP-19 Bizon - "+S2V4+" DKK")
- ##Vaaben 5##
- E:egpSetText(34,"MP5 - "+S2V5+" DKK")
- E:egpSetText(41,"MP5 - "+S2V5+" DKK")
- ##Vaaben 6##
- E:egpSetText(35,"SKS - "+S2V6+" DKK")
- E:egpSetText(42,"SKS - "+S2V6+" DKK")
- ##Vaaben 7##
- E:egpSetText(36,"RPK-47 - "+S2V7+" DKK")
- E:egpSetText(43,"RPK-47 - "+S2V7+" DKK")
- ##Vaaben 8##
- E:egpSetText(44,"M3 Shotgun - "+S2V8+" DKK")
- E:egpSetText(51,"M3 Shotgun - "+S2V8+" DKK")
- ##Vaaben 9##
- E:egpSetText(45,"SR-25 - "+S2V9+" DKK")
- E:egpSetText(52,"SR-25 - "+S2V9+" DKK")
- ##Vaaben 10##
- E:egpSetText(46,"SG 552 - "+S2V10+" DKK")
- E:egpSetText(53,"SG 552 - "+S2V10+" DKK")
- ##Vaaben 11##
- E:egpSetText(47,"SG 550 - "+S2V11+" DKK")
- E:egpSetText(54,"SG 550 - "+S2V11+" DKK")
- ##Vaaben 12##
- E:egpSetText(48,"UZI - "+S2V12+" DKK")
- E:egpSetText(55,"UZI - "+S2V12+" DKK")
- ##Vaaben 13##
- E:egpSetText(49,"Ingen V"+aa()+"ben - "+S2V13+" DKK")
- E:egpSetText(56,"Ingen V"+aa()+"ben - "+S2V13+" DKK")
- ##Vaaben 14##
- E:egpSetText(50,"Ingen V"+aa()+"ben - "+S2V14+" DKK")
- E:egpSetText(57,"Ingen V"+aa()+"ben - "+S2V14+" DKK")
- E:egpBox(61,vec2(440,26),vec2(26,3)) E:egpAngle(61,45) E:egpColor(61,255,255,255,100)
- E:egpBox(62,vec2(456,26),vec2(26,3)) E:egpAngle(62,-45) E:egpColor(62,255,255,255,100)
- E:egpBox(63,vec2(448,26),vec2(50,50)) E:egpColor(63,0,0,0,0)
- E:egpColor(58,0,0,0,0) E:egpColor(59,0,0,0,0) E:egpColor(60,0,0,0,0)
- }
- }
- if(clk("PrisUpdate")){
- stoptimer("PrisUpdate")
- E:egpSetText(5,Pris+" DKK")
- E:egpSetText(7,Pris+" DKK")
- EBetal:egpSetText(8,Pris+" DKK")
- EBetal:egpSetText(9,Pris+" DKK")
- }
- if(S == 1){
- if(ops() <100){
- if(~U & U){
- if(E:egpClick(13,U,0)){Pris = S1V1 timer("PrisUpdate",50) SendPenge = 1}
- if(E:egpClick(14,U,0)){Pris = S1V2 timer("PrisUpdate",50) SendPenge = 2}
- if(E:egpClick(15,U,0)){Pris = S1V3 timer("PrisUpdate",50) SendPenge = 3}
- if(E:egpClick(16,U,0)){Pris = S1V4 timer("PrisUpdate",50) SendPenge = 4}
- if(E:egpClick(17,U,0)){Pris = S1V5 timer("PrisUpdate",50) SendPenge = 5}
- if(E:egpClick(18,U,0)){Pris = S1V6 timer("PrisUpdate",50) SendPenge = 6}
- if(E:egpClick(19,U,0)){Pris = S1V7 timer("PrisUpdate",50) SendPenge = 7}
- if(E:egpClick(20,U,0)){Pris = S1V8 timer("PrisUpdate",50) SendPenge = 8}
- if(E:egpClick(21,U,0)){Pris = S1V9 timer("PrisUpdate",50) SendPenge = 9}
- if(E:egpClick(22,U,0)){Pris = S1V10 timer("PrisUpdate",50) SendPenge = 10}
- if(E:egpClick(23,U,0)){Pris = S1V11 timer("PrisUpdate",50) SendPenge = 11}
- if(E:egpClick(24,U,0)){Pris = S1V12 timer("PrisUpdate",50) SendPenge = 12}
- if(E:egpClick(25,U,0)){Pris = S1V13 timer("PrisUpdate",50) SendPenge = 13}
- if(E:egpClick(26,U,0)){Pris = S1V14 timer("PrisUpdate",50) SendPenge = 14}
- if(E:egpClick(60,U,0)){timer("Side",250) S = 2}
- }
- }
- }
- if(S == 2){
- if(ops() <100){
- if(~U & U){
- if(E:egpClick(13,U,0)){Pris = S2V1 timer("PrisUpdate",50) SendPenge = 15}
- if(E:egpClick(14,U,0)){Pris = S2V2 timer("PrisUpdate",50) SendPenge = 16}
- if(E:egpClick(15,U,0)){Pris = S2V3 timer("PrisUpdate",50) SendPenge = 17}
- if(E:egpClick(16,U,0)){Pris = S2V4 timer("PrisUpdate",50) SendPenge = 18}
- if(E:egpClick(17,U,0)){Pris = S2V5 timer("PrisUpdate",50) SendPenge = 19}
- if(E:egpClick(18,U,0)){Pris = S2V6 timer("PrisUpdate",50) SendPenge = 20}
- if(E:egpClick(19,U,0)){Pris = S2V7 timer("PrisUpdate",50) SendPenge = 21}
- if(E:egpClick(20,U,0)){Pris = S2V8 timer("PrisUpdate",50) SendPenge = 22}
- if(E:egpClick(21,U,0)){Pris = S2V9 timer("PrisUpdate",50) SendPenge = 23}
- if(E:egpClick(22,U,0)){Pris = S2V10 timer("PrisUpdate",50) SendPenge = 24}
- if(E:egpClick(23,U,0)){Pris = S2V11 timer("PrisUpdate",50) SendPenge = 25}
- if(E:egpClick(24,U,0)){Pris = S2V12 timer("PrisUpdate",50) SendPenge = 26}
- if(E:egpClick(25,U,0)){Pris = S2V13 timer("PrisUpdate",50) SendPenge = 27}
- if(E:egpClick(26,U,0)){Pris = S2V14 timer("PrisUpdate",50) SendPenge = 28}
- if(E:egpClick(63,U,0)){timer("Side",250) S = 1}
- }
- }
- }
- ##Nulstil Pris##
- if(ops() <100){ if(~U & U){ if(E:egpClick(27,U,0)){Pris = 0 SendPenge = 0 timer("PrisUpdate",50)}}}
- ##Betal##
- if(ops() <50){
- if(~UBetal & UBetal){
- if(EBetal:egpClick(7,UBetal,0)){moneyRequest(UBetal,Pris,"McDonald`s")}
- }
- }
- if(moneyTimeout("McDonald`s")){printChat("Fejl... En Timouted i MoneyRequest.")}
- if(moneyNoClk("McDonald`s")){printChat("Fejl... En anullerede k"+oe()+"bet.")}
- if(moneyClk("McDonald`s")){
- timer("PrisUpdate",250)
- Pris = 0
- if(SendPenge == 1){moneyGive(findPlayerByName(Person),S1V1-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: AK-47") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 2){moneyGive(findPlayerByName(Person),S1V2-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: AK-74") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 3){moneyGive(findPlayerByName(Person),S1V3-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: Famas") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 4){moneyGive(findPlayerByName(Person),S1V4-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: G3A3") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 5){moneyGive(findPlayerByName(Person),S1V5-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: Deagle") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 6){moneyGive(findPlayerByName(Person),S1V6-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: Glock-20") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 7){moneyGive(findPlayerByName(Person),S1V7-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: G36C") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 8){moneyGive(findPlayerByName(Person),S1V8-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: M4A1") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 9){moneyGive(findPlayerByName(Person),S1V9-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: KS-23") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 10){moneyGive(findPlayerByName(Person),S1V10-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: M14") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 11){moneyGive(findPlayerByName(Person),S1V11-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: M82") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 12){moneyGive(findPlayerByName(Person),S1V12-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: M24") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 13){moneyGive(findPlayerByName(Person),S1V13-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: M21") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 14){moneyGive(findPlayerByName(Person),S1V14-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: Raging Bull") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 15){moneyGive(findPlayerByName(Person),S2V1-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: M1911") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 16){moneyGive(findPlayerByName(Person),S2V2-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: OTs-33 Pernach") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 17){moneyGive(findPlayerByName(Person),S2V3-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: P228") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 18){moneyGive(findPlayerByName(Person),S2V4-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: PP-19 Bizon") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 19){moneyGive(findPlayerByName(Person),S2V5-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: MP5") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 20){moneyGive(findPlayerByName(Person),S2V6-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: SKS") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 21){moneyGive(findPlayerByName(Person),S2V7-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: RPK-47") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 22){moneyGive(findPlayerByName(Person),S2V8-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: M3 Shotgun") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 23){moneyGive(findPlayerByName(Person),S2V9-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: SR-25") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 24){moneyGive(findPlayerByName(Person),S2V10-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: SG 552") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 25){moneyGive(findPlayerByName(Person),S2V11-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: SG 550") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 26){moneyGive(findPlayerByName(Person),S2V12-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: UZI") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 27){moneyGive(findPlayerByName(Person),S2V13-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: AK-47") timer("Odre",1000) SendPenge = 0}
- if(SendPenge == 28){moneyGive(findPlayerByName(Person),S2V14-100) concmd("say /pm "+Person+" | McDonald`s | En har k"+oe()+"bt en: AK-47") timer("Odre",1000) SendPenge = 0}
- }
- if(clk("Odre")){ stoptimer("Odre") printChat("Et k"+oe()+"b blev gennemf"+oe()+"rt...")}
- runOnChat(1)
- if(chatClk()){
- A = owner():lastSaid():explode(" ")
- if(A[1,string]=="!info" & chatClk(owner())){
- hideChat(1)
- printChat("Du m"+aa()+" ikke s"+ae()+"lge denne E2 vidre til nogen som helst.")
- printChat("Brug af denne E2 sker p"+aa()+" eget ansvar.")
- printChat("DoktorDim har ret til at crashe denne E2.")
- printChat("Du m"+aa()+" ikke dele ting i dette script.")
- printChat("Du m"+aa()+" ikke")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement