Hop til indhold
Stavox

Update af Mcdonalds gunshop


Kagen

Recommended Posts

Hej jeg har lavet Mcdonalds Gunshop E2 om til de nye priser

 

Den er stadig laver af @DoktorDim<

Spoiler
@name McDonald's Nye vaaben priser
@inputs [E,EB]:wirelink [U,UB]:entity
@outputs
@persist [Version,S,Start,AntiWhite] [Pris,Profit,Odre,SP,AK,AKM]:number [PersonSteamID,SendPengeTilPerson,SU]:string
@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
@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
@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
@trigger all
if(duped() | dupefinished()){reset()}
if(first()){

##################   
  ## Settings ##
##################
PersonSteamID = "" #Type the workers SteamID in.
LPS = 100 #This is what you get paid for each time you sell a weapon. Minimum: "0" Maximum: "100".
SendPengeTilPerson = "true" #Type "true" if you want to send moneys to: PersonSteamID else type "false" if you dont want to send moneys to: PersonSteamID.
AntiWhite = 0 #edit this to: "1" if your screen is too white. else if you want a white screen edit it to: "0"
##################   
  ## Settings ##
##################
 
#################   
 ## Dont edit ##
#################
Version = 3.4
S=1
Ordre=0
Start=0
setName("McDonald's - v"+Version+"
Update af nye v"+(aa())+"ben priser")
#################   
 ## Dont edit ##
#################
 
##################   
  ## Function ##
##################
    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)}

    function number wirelink:egpButton(Idx:number,Ply:entity){
       
        BR = This:egpPos(Idx) + This:egpSize(Idx) / (0 ? 1 : 2)
        TL = This:egpPos(Idx) - This:egpSize(Idx) / 2 * (0 ? 0 : 1)
        Cur = This:egpCursor(Ply) return inrange(Cur, TL, BR)
        exit()
    }
    function void wirelink:drawScreen1(){
       
    This:egpClear()
    This:egpBox(1,vec2(256,256),vec2(512,512)),This:egpMaterial(1,"console/background06")
    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)}
    This:egpBox(3,vec2(192,32),vec2(448,64)),This:egpColor(3,255,255,255,25)
    This:egpBox(4,vec2(192,64),vec2(448,1)),This:egpColor(4,0,0,0,150)   
    This:egpBox(5,vec2(464,256),vec2(96,512)),This:egpColor(5,255,255,255,25)
    This:egpBox(6,vec2(416,303),vec2(1,477)),This:egpColor(6,0,0,0,150)   
    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)
    This:egpText(8,"McDonald's",vec2(192,32)),This:egpAlign(8,1,1),This:egpSize(8,50),This:egpFont(8,"Courier New")
    This:egpBox(9,vec2(192+1,50+1),vec2(266,1)),This:egpColor(9,0,0,0,150)
    This:egpBox(10,vec2(192,50),vec2(266,1))   
    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")
    This:egpText(12,"FastGuns",vec2(179,19)),This:egpAlign(12,1,1),This:egpSize(12,15),This:egpFont(12,"Courier New")
    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)
    This:egpText(14,"Pris:",vec2(464,246)),This:egpAlign(14,1,1),This:egpSize(14,20)
    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)
    This:egpText(16,Pris+" DKK",vec2(464,266)),This:egpAlign(16,1,1),This:egpSize(16,15)
    This:egpBox(17,vec2(464+1,236+1),vec2(74,1)),This:egpColor(17,0,0,0,150)
    This:egpBox(18,vec2(464,236),vec2(74,1))   
    This:egpBox(19,vec2(464+1,276+1),vec2(74,1)),This:egpColor(19,0,0,0,150)
    This:egpBox(20,vec2(464,276),vec2(74,1))   
    }
   
    function void wirelink:drawScreen2(){
    This:egpBoxOutline(21,vec2(464+1,306+1),vec2(74,40)),This:egpColor(21,0,0,0,150)
    This:egpBoxOutline(22,vec2(464,306),vec2(74,40))
    This:egpBox(23,vec2(464,306),vec2(74,40)),This:egpColor(23,0,0,0,0)
    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)
    This:egpText(25,"Nulstil",vec2(464,300)),This:egpAlign(25,1,1),This:egpSize(25,15)
    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)
    This:egpText(27,"ordre.",vec2(464,312)),This:egpAlign(27,1,1),This:egpSize(27,15)
    This:egpBoxOutline(42,vec2(464+1,206+1),vec2(74,40)),This:egpColor(42,0,0,0,150)
    This:egpBoxOutline(43,vec2(464,206),vec2(74,40))
    This:egpBox(44,vec2(464,206),vec2(74,40)),This:egpColor(44,0,255,0,25)
    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)
    This:egpText(46,"Aventer",vec2(464,200)),This:egpAlign(46,1,1),This:egpSize(46,15)
    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)
    This:egpText(48,"odre.",vec2(464,212)),This:egpAlign(48,1,1),This:egpSize(48,15)
       
    }
   
   
    function void wirelink:drawPressUpDownSite(){
       
    This:egpBox(28,vec2(464+1,475+1),vec2(2,20)),This:egpColor(28,0,0,0,150)
    This:egpBox(29,vec2(459+1,480+1),vec2(2,14)),This:egpAngle(29,45),This:egpColor(29,0,0,0,150)   
    This:egpBox(30,vec2(469+1,480+1),vec2(2,14)),This:egpAngle(30,-45),This:egpColor(30,0,0,0,150)
    This:egpBox(31,vec2(464,475),vec2(2,20))
    This:egpBox(32,vec2(459,480),vec2(2,14)),This:egpAngle(32,45)   
    This:egpBox(33,vec2(469,480),vec2(2,14)),This:egpAngle(33,-45)
    This:egpBox(34,vec2(464+1,448+1),vec2(2,20)),This:egpColor(34,0,0,0,150)
    This:egpBox(35,vec2(459+1,443+1),vec2(2,14)),This:egpAngle(35,-45),This:egpColor(35,0,0,0,150)
    This:egpBox(36,vec2(469+1,443+1),vec2(2,14)),This:egpAngle(36,45),This:egpColor(36,0,0,0,150)   
    This:egpBox(37,vec2(464,448),vec2(2,20))
    This:egpBox(38,vec2(459,443),vec2(2,14)),This:egpAngle(38,-45)   
    This:egpBox(39,vec2(469,443),vec2(2,14)),This:egpAngle(39,45)
   
    This:egpBox(40,vec2(465,476),vec2(21,21)),This:egpColor(40,0,0,0,0) #Down
    This:egpBox(41,vec2(465,449),vec2(21,21)),This:egpColor(41,0,0,0,0) #Up
  
    }
   
    function void wirelink:loadDrawUpDownSite(){
   
    if(S==1){
    This:egpColor(37,255,255,255,128),This:egpColor(38,255,255,255,128),This:egpColor(39,255,255,255,128)
    This:egpColor(31,255,255,255,255),This:egpColor(32,255,255,255,255),This:egpColor(33,255,255,255,255)
    }
    if(S==2){
    This:egpColor(31,255,255,255,128),This:egpColor(32,255,255,255,128),This:egpColor(33,255,255,255,128)  
    This:egpColor(37,255,255,255,255),This:egpColor(38,255,255,255,255),This:egpColor(39,255,255,255,255)
    }}
     
    function void wirelink:drawWepBoxes(){
    I=1
    while(I<16){
    PI=I*28-28
        This:egpBox(50+I,vec2(208,92+PI),vec2(382,26))
        This:egpColor(50+I,255,255,255,22)          
        I++
    }}
   
   
    function void wirelink:drawWepNamesB(){
    I=1
    while(I<16){
    PI=I*28-28
        This:egpText(65+I,"",vec2(25+1,92+1+PI))
        This:egpAlign(65+I,0,1)
        This:egpFont(65+I,"Courier New")
        This:egpColor(65+I,0,0,0,0) 
    I++
    }}

    function void wirelink:drawWepNamesW(){
    I=1
    while(I<16){
    PI=I*28-28
        This:egpText(82+I,"",vec2(25,92+PI))
        This:egpAlign(82+I,0,1)
        This:egpFont(82+I,"Courier New")
        This:egpColor(82+I,0,0,0,0)
    I++
    }}
           
    function void wirelink:drawBetalScreen(){
   
    This:egpClear()
    This:egpBox(1,vec2(256,256),vec2(512,512)),This:egpMaterial(1,"console/background06")
    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)}
    This:egpBox(3,vec2(128,462),vec2(256,100)),This:egpColor(3,45,45,45,150)
    This:egpBox(4,vec2(384,462),vec2(256,100)),This:egpColor(4,45,45,45,200)
    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)
    This:egpText(6,"Pris: "+Pris+" DKK",vec2(128,462)),This:egpAlign(6,1,1),This:egpSize(6,35)
    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)
    This:egpText(8,"Betal",vec2(384,462)),This:egpAlign(8,1,1),This:egpSize(8,45)
    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)
    This:egpText(10,"McDonald's",vec2(256,32)),This:egpAlign(10,1,1),This:egpSize(10,50),This:egpFont(10,"Courier New")
    This:egpBox(11,vec2(256+1,50+1),vec2(266,1)),This:egpColor(11,0,0,0,150)
    This:egpBox(12,vec2(256,50),vec2(266,1))   
    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")
    This:egpText(14,"FastGuns",vec2(243,19)),This:egpAlign(14,1,1),This:egpSize(14,15),This:egpFont(14,"Courier New")
    }           
##################   
  ## Function ##
##################
#####################   
  ## Wait-Profit ##
#####################
printChat("Tak fordi du benytter dig af McDonald's v3.")
printChat("For at starte E2`en skal du skrive: '!profit <profit>', Din profit kan minimum v"+ae()+"re 100 DKK.")
    E:egpClear()
    E:egpBox(1,vec2(256,256),vec2(512,512)),E:egpColor(1,45,45,45,255)
    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)
    E:egpText(3,"Velkommen til",vec2(256,206)),E:egpAlign(3,1,1),E:egpSize(3,50)
    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)
    E:egpText(5,"McDonald's v3",vec2(256,256)),E:egpAlign(5,1,1),E:egpSize(5,50)
    E:egpText(6,"- OBS - L"+ae()+"s venligst chatten...",vec2(256,306)),E:egpAlign(6,1,1),E:egpSize(6,12)
    EB:drawBetalScreen()
   
#####################   
  ## Wait-Profit ##
#####################

}
    
if(clk("1")){stoptimer("1"),E:drawScreen1()}
if(clk("2")){stoptimer("2"),E:drawScreen2()}
if(clk("3")){stoptimer("3"),E:drawWepBoxes()}
if(clk("4")){stoptimer("4"),E:drawWepNamesB()}
if(clk("5")){stoptimer("5"),E:drawWepNamesW()}
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}
if(clk("CheckSite")){stoptimer("CheckSite")
timer("CheckSiteLoad",500)
timer("checkSiteColors",2)
E:drawPressUpDownSite()
E:loadDrawUpDownSite()
if(S==1){

##Vep-1##
E:egpSetText(66,"1. "+V1+" - "+P1+" DKK")      
E:egpSetText(83,"1. "+V1+" - "+P1+" DKK")    
##Vep-2##          
E:egpSetText(67,"2. "+V2+" - "+P2+" DKK")   
E:egpSetText(84,"2. "+V2+" - "+P2+" DKK")     
##Vep-3##
E:egpSetText(68,"3."+V3+" - "+P3+" DKK")   
E:egpSetText(85,"3."+V3+" - "+P3+" DKK")   
##Vep-4##          
E:egpSetText(69,"4."+V4+" - "+P4+" DKK")   
E:egpSetText(86,"4."+V4+" - "+P4+" DKK") 
##Vep-5##
E:egpSetText(70,"5."+V5+" - "+P5+" DKK")  
E:egpSetText(87,"5."+V5+" - "+P5+" DKK")   
##Vep-6##          
E:egpSetText(71,"6."+V6+" - "+P6+" DKK")   
E:egpSetText(88,"6."+V6+" - "+P6+" DKK")     
##Vep-7##
E:egpSetText(72,"7."+V7+" - "+P7+" DKK")   
E:egpSetText(89,"7."+V7+" - "+P7+" DKK")   
}

elseif(S==2){
##Vep-16##
E:egpSetText(66,"16. "+V16+" - "+P16+" DKK")      
E:egpSetText(83,"16. "+V16+" - "+P16+" DKK")    
##Vep-17##          
E:egpSetText(67,"17. "+V17+" - "+P17+" DKK")   
E:egpSetText(84,"17. "+V17+" - "+P17+" DKK")     
##Vep-18##
E:egpSetText(68,"18."+V18+" - "+P18+" DKK")   
E:egpSetText(85,"18."+V18+" - "+P18+" DKK")   
##Vep-19##          
E:egpSetText(69,"19."+V19+" - "+P19+" DKK")   
E:egpSetText(86,"19."+V19+" - "+P19+" DKK") 
##Vep-20##
E:egpSetText(70,"20."+V20+" - "+P20+" DKK")  
E:egpSetText(87,"20."+V20+" - "+P20+" DKK")   
##Vep-21##          
E:egpSetText(71,"21."+V21+" - "+P21+" DKK")   
E:egpSetText(88,"21."+V21+" - "+P21+" DKK")     
##Vep-22##
E:egpSetText(72,"22."+V22+" - "+P22+" DKK")   
E:egpSetText(89,"22."+V22+" - "+P22+" DKK")   
}

}
if(clk("CheckSiteLoad")){
stoptimer("CheckSiteLoad")   
if(S==1){
##Vep-8##          
E:egpSetText(73,"8."+V8+" - "+P8+" DKK")   
E:egpSetText(90,"8."+V8+" - "+P8+" DKK") 
##Vep-9##          
E:egpSetText(74,"9."+V9+" - "+P9+" DKK")   
E:egpSetText(91,"9."+V9+" - "+P9+" DKK")
##Vep-10##          
E:egpSetText(75,"10."+V10+" - "+P10+" DKK")   
E:egpSetText(92,"10."+V10+" - "+P10+" DKK") 
##Vep-11##          
E:egpSetText(76,"11."+V11+" - "+P11+" DKK")   
E:egpSetText(93,"11."+V11+" - "+P11+" DKK") 
##Vep-12##          
E:egpSetText(77,"12."+V12+" - "+P12+" DKK")   
E:egpSetText(94,"12."+V12+" - "+P12+" DKK") 
##Vep-13##          
E:egpSetText(78,"13."+V13+" - "+P13+" DKK")   
E:egpSetText(95,"13."+V13+" - "+P13+" DKK")
##Vep-14##          
E:egpSetText(79,"14."+V14+" - "+P14+" DKK")   
E:egpSetText(96,"14."+V14+" - "+P14+" DKK") 
##Vep-15##          
E:egpSetText(80,"15."+V15+" - "+P15+" DKK") 
E:egpSetText(97,"15."+V15+" - "+P15+" DKK")      
}
elseif(S==2){
##Vep-23##          
E:egpSetText(73,"23."+V23+" - "+P23+" DKK")   
E:egpSetText(90,"23."+V23+" - "+P23+" DKK") 
##Vep-24##          
E:egpSetText(74,"24."+V24+" - "+P24+" DKK")   
E:egpSetText(91,"24."+V24+" - "+P24+" DKK")
##Vep-25##          
E:egpSetText(75,"25."+V25+" - "+P25+" DKK")   
E:egpSetText(92,"25."+V25+" - "+P25+" DKK") 
##Vep-26##          
E:egpSetText(76,"26."+V26+" - "+P26+" DKK")   
E:egpSetText(93,"26."+V26+" - "+P26+" DKK") 
##Vep-27##          
E:egpSetText(77,"27."+V27+" - "+P27+" DKK")   
E:egpSetText(94,"27."+V27+" - "+P27+" DKK") 
##Vep-28##          
E:egpSetText(78,"28."+V28+" - "+P28+" DKK")   
E:egpSetText(95,"28."+V28+" - "+P28+" DKK")
##Vep-29##          
E:egpSetText(79,"29."+V29+" - "+P29+" DKK")   
E:egpSetText(96,"29."+V29+" - "+P29+" DKK") 
##Vep-30##          
E:egpSetText(80,"30."+V30+" - "+P30+" DKK") 
E:egpSetText(97,"30."+V30+" - "+P30+" DKK")  
}
}
if(clk("checkSiteColors")){
stoptimer("checkSiteColors")
    if(S==1){
    if(W1==1){E:egpColor(51,255,255,255,64)}else{E:egpColor(51,255,255,255,22)}
    if(W2==1){E:egpColor(52,255,255,255,64)}else{E:egpColor(52,255,255,255,22)}
    if(W3==1){E:egpColor(53,255,255,255,64)}else{E:egpColor(53,255,255,255,22)}
    if(W4==1){E:egpColor(54,255,255,255,64)}else{E:egpColor(54,255,255,255,22)}
    if(W5==1){E:egpColor(55,255,255,255,64)}else{E:egpColor(55,255,255,255,22)}
    if(W6==1){E:egpColor(56,255,255,255,64)}else{E:egpColor(56,255,255,255,22)}
    if(W7==1){E:egpColor(57,255,255,255,64)}else{E:egpColor(57,255,255,255,22)}
    if(W8==1){E:egpColor(58,255,255,255,64)}else{E:egpColor(58,255,255,255,22)}
    if(W9==1){E:egpColor(59,255,255,255,64)}else{E:egpColor(59,255,255,255,22)}
    if(W10==1){E:egpColor(60,255,255,255,64)}else{E:egpColor(60,255,255,255,22)}
    if(W11==1){E:egpColor(61,255,255,255,64)}else{E:egpColor(61,255,255,255,22)}
    if(W12==1){E:egpColor(62,255,255,255,64)}else{E:egpColor(62,255,255,255,22)}
    if(W13==1){E:egpColor(63,255,255,255,64)}else{E:egpColor(63,255,255,255,22)}
    if(W14==1){E:egpColor(64,255,255,255,64)}else{E:egpColor(64,255,255,255,22)}
    if(W15==1){E:egpColor(65,255,255,255,64)}else{E:egpColor(65,255,255,255,22)}
    }
    elseif(S==2){
    if(W16==1){E:egpColor(51,255,255,255,64)}else{E:egpColor(51,255,255,255,22)}
    if(W17==1){E:egpColor(52,255,255,255,64)}else{E:egpColor(52,255,255,255,22)}
    if(W18==1){E:egpColor(53,255,255,255,64)}else{E:egpColor(53,255,255,255,22)}
    if(W19==1){E:egpColor(54,255,255,255,64)}else{E:egpColor(54,255,255,255,22)}
    if(W20==1){E:egpColor(55,255,255,255,64)}else{E:egpColor(55,255,255,255,22)}
    if(W21==1){E:egpColor(56,255,255,255,64)}else{E:egpColor(56,255,255,255,22)}
    if(W22==1){E:egpColor(57,255,255,255,64)}else{E:egpColor(57,255,255,255,22)}
    if(W23==1){E:egpColor(58,255,255,255,64)}else{E:egpColor(58,255,255,255,22)}
    if(W24==1){E:egpColor(59,255,255,255,64)}else{E:egpColor(59,255,255,255,22)}
    if(W25==1){E:egpColor(60,255,255,255,64)}else{E:egpColor(60,255,255,255,22)}
    if(W26==1){E:egpColor(61,255,255,255,64)}else{E:egpColor(61,255,255,255,22)}
    if(W27==1){E:egpColor(62,255,255,255,64)}else{E:egpColor(62,255,255,255,22)}
    if(W28==1){E:egpColor(63,255,255,255,64)}else{E:egpColor(63,255,255,255,22)}
    if(W29==1){E:egpColor(64,255,255,255,64)}else{E:egpColor(64,255,255,255,22)}
    if(W30==1){E:egpColor(65,255,255,255,64)}else{E:egpColor(65,255,255,255,22)}
   
    }
}
if(~U & U & ops()<100){
    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,
    W11=0,W12=0,W13=0,W14=0,W15=0,W16=0,W17=0,W18=0,W19=0,W20=0,
    W21=0,W22=0,W23=0,W24=0,W25=0,W26=0,W27=0,W28=0,W29=0,W30=0
    timer("checkSiteColors",2),timer("Update-Price",2)
    }
    elseif(E:egpButton(44,U)){
    if(Odre==0){
    Odre=1
    E:egpColor(44,255,0,0,25)
    E:egpSetText(45,"Betaling")
    E:egpSetText(46,"Betaling")
    E:egpSetText(47,"klar.")
    E:egpSetText(48,"klar.")
    }
    elseif(Odre==1){
    Odre=0
    E:egpColor(44,0,255,0,25)
    E:egpSetText(45,"Aventer")
    E:egpSetText(46,"Aventer")
    E:egpSetText(47,"odre.")
    E:egpSetText(48,"odre.")
   
}
       
    }
        if(S==1 & Odre==0){
    if(E:egpButton(40,U)){S=2,timer("CheckSite",10)}
    elseif(E:egpButton(51,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(52,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(53,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(54,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(55,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(56,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(57,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(58,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(59,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(60,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(61,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(62,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(63,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(64,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(65,U)){
    timer("Update-Price",50)
    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}}
    }
        elseif(S==2 & Odre==0){
    if(E:egpButton(41,U)){S=1,timer("CheckSite",10)}
    elseif(E:egpButton(51,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(52,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(53,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(54,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(55,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(56,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(57,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(58,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(59,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(60,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(61,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(62,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(63,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(64,U)){
    timer("Update-Price",50)
    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}}
    elseif(E:egpButton(65,U)){
    timer("Update-Price",50)
    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}}
    }
}
if(~UB & UB & ops()<100 & Odre==1){
if(EB:egpButton(1,UB)){
moneyRequest(UB,Pris,"McDonald's v3")
SU=UB:steamID()
    }
}
if(moneyClk("McDonald's v3")){
concmd("say /pm "+SU+" | McDonald's | Tak for dit k"+oe()+"b. Du vil snart modtage din ordre.")
if(W1==1){SP+=P1-Profit,AK++}
if(W2==1){SP+=P2-Profit,AK++}
if(W3==1){SP+=P3-Profit,AK++}
if(W4==1){SP+=P4-Profit,AK++}
if(W5==1){SP+=P5-Profit,AK++}
if(W6==1){SP+=P6-Profit,AK++}
if(W7==1){SP+=P7-Profit,AK++}
if(W8==1){SP+=P8-Profit,AK++}
if(W9==1){SP+=P9-Profit,AK++}
if(W10==1){SP+=P10-Profit,AK++}
if(W11==1){SP+=P11-Profit,AK++}
if(W12==1){SP+=P12-Profit,AK++}
if(W13==1){SP+=P13-Profit,AK++}
if(W14==1){SP+=P14-Profit,AK++}
if(W15==1){SP+=P15-Profit,AK++}
if(W16==1){SP+=P16-Profit,AK++}
if(W17==1){SP+=P17-Profit,AK++}
if(W18==1){SP+=P18-Profit,AK++}
if(W19==1){SP+=P19-Profit,AK++}
if(W20==1){SP+=P20-Profit,AK++}
if(W21==1){SP+=P21-Profit,AK++}
if(W22==1){SP+=P22-Profit,AK++}
if(W23==1){SP+=P23-Profit,AK++}
if(W24==1){SP+=P24-Profit,AK++}
if(W25==1){SP+=P25-Profit,AK++}
if(W26==1){SP+=P26-Profit,AK++}
if(W27==1){SP+=P27-Profit,timer("Big-Wep Menu",1600),AKM++}
if(W28==1){SP+=P28-Profit,timer("Mini-Wep Menu",3200),AKM++}
if(W29==1){SP+=P29-Profit,timer("Base Menu",4800),AKM++}
if(W30==1){SP+=P30-Profit,timer("Big-Bang Menu",6400),AKM++}
SP+LPS
moneyGive(findPlayerBySteamID(PersonSteamID),SP)
moneyGive(findPlayerBySteamID(PersonSteamID),LPS)
SP=0
SU=""  
}
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.")}
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.")}
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.")}
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")}
if(clk("Update-Price")){
stoptimer("Update-Price")
E:egpSetText(15,Pris+" DKK")  
E:egpSetText(16,Pris+" DKK") 
EB:egpSetText(5,"Pris: "+Pris+" DKK")
EB:egpSetText(6,"Pris: "+Pris+" DKK")
}

runOnChat(1)
if(chatClk()){
    A = owner():lastSaid():explode(" ")
    if(ops()<100){
    if(A[1,string]=="!help" & chatClk(owner())){
    hideChat(1) 
    printChat("Du kan skrive !profit for at "+ae()+"ndre profiten.") ###DONT EDIT!!!
    printChat("Du kan skrive !help for f"+aa()+" hj"+ae()+"lp.") ###DONT EDIT!!!
    printChat("Du kan skrive !salg for at se hvor meget salg du har haft idag.") ###DONT EDIT!!!
    printChat("Copyright McDonald's - All rights reserved") ###DONT EIDT!!!
        }
    elseif(A[1,string]=="!profit" & chatClk(owner())){
    hideChat(1)
    Profit=A[2,string]:toNumber()
    if(Profit<101){printChat("Din profit skal v"+ae()+"re h"+oe()+"jre end 100 DKK.")}
    V1="AK-47"
    P1=2990+Profit
    V2="AK-74"
    P2=2890+Profit
    V3="Famas"
    P3=2890+Profit
    V4="G3A3"
    P4=3190+Profit
    V5="Deagle"
    P5=740+Profit
    V6="Glock-20"
    P6=540+Profit
    V7="G36C"
    P7=3090+Profit
    V8="M4A1"
    P8=3090+Profit
    V9="KS-23"
    P9=2390+Profit
    V10="M14"
    P10=4000+Profit
    V11="M82"
    P11=6970+Profit
    V12="M24"
    P12=5580+Profit
    V13="M21"
    P13=5590+Profit
    V14="Raging Bull"
    P14=690+Profit
    V15="M1911"
    P15=470+Profit
    V16="OTs-33 Pernach"
    P16=840+Profit
    V17="P228"
    P17=470+Profit
    V18="PP-19 Bizon"
    P18=2090+Profit
    V19="MP5"
    P19=2190+Profit
    V20="SKS"
    P20=4780+Profit
    V21="RPK-47"
    P21=3780+Profit
    V22="M3 Shotgun"
    P22=2590+Profit
    V23="SR-25"
    P23=5480+Profit
    V24="SG 552"
    P24=2990+Profit
    V25="SG 550"
    P25=3090+Profit
    V26="UZI"
    P26=2090+Profit
    V27="Big-Wep Menu"
    P27=6000+Profit
    V28="Mini-Wep Menu"
    P28=3500+Profit
    V29="Base Menu"
    P29=7000+Profit
    V30="Big-Bang Menu"
    P30=12500+Profit
if(Start==0){
Start=1
printChat("Profit "+ae()+"ndret til: "+Profit+" - E2 vil genstarte.")
    timer("1",250)
    timer("2",500)
    timer("3",650)
    timer("4",850)
    timer("5",1000)
    timer("6",1250)
    timer("CheckSite",1500)
}
elseif(Start==1){
    timer("CheckSite",1250)
    timer("Update-Price",2)
printChat("Profit "+ae()+"ndret til: "+Profit+".")
    Pris=0,W1=0,W2=0,W3=0,W4=0,W5=0,W6=0,W7=0,W8=0,W9=0,W10=0,
    W11=0,W12=0,W13=0,W14=0,W15=0,W16=0,W17=0,W18=0,W19=0,W20=0,
    W21=0,W22=0,W23=0,W24=0,W25=0,W26=0,W27=0,W28=0,W29=0,W30=0
}
        }
    elseif(A[1,string]=="!salg" & chatClk(owner())){
    hideChat(1)
    printChat("Du har solgt: "+AK+" V"+aa()+"ben idag, og du har solgt: "+AKM+" menu`er idag.")
    }
    
    }
}
    E:egpCircleOutline(999,vec2(256,256),vec2(4,4))
    E:egpColor(999,45,45,45,225)
    E:egpParentToCursor(999)

 

https://pastebin.com/ZtqU5Zxj

Link til kommentar
Del på andre sites

On ‎12‎-‎05‎-‎2017 at 09:28, itzmangodk said:

Man kan jo bare skrive !profit på den originale E2 ?

Nej fordi priserne er ikke det samme

 

Jeg spiller mest på Rockford hvor jeg ser rigtig mange som faktisk mister penge på det så jeg vil lave det om

Link til kommentar
Del på andre sites

  • 1 month later...
  • 6 months later...
12 timer siden, Ts (TsPxRpm) skrev:

Hvordan adder jeg ranger og user

 

Nvm

Fungere det her sådan at de siger fx m82 og de betaler og så bestiller jeg det hjem og så får de det?

 

Det gør det ja, derfor er disse gunshops ikke ret optimale mere. Ofte bliver dit våben stjålet, ellers bliver du raidet lige når du har hentet våbnet. For din egen skyld, hvis jeg var dig ville jeg finde en auto gunshop her på forum, og bruge den i stedet.

 

Link til kommentar
Del på andre sites

Arkiveret

Dette emne er nu arkiveret og er lukket for yderligere svar

Gæst
Dette emne er nu lukket for yderligere svar
×
×
  • Tilføj...

COOKIE- OG PRIVATLIVSPOLITIK PÅ STAVOX.DK

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privatlivspolitik - Vilkår for brug.