Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @name Stavox Gunshop V1.3a [By Cyka]
- @inputs [EGP,Skilt]:wirelink [User,R1,R2,R3,R4,R5,R6,R7,R8,R9,R10]:entity
- @outputs U1 U2 U3 U4 U5 U6 U7 U8 U9 U10
- @persist [Pris1,Pris2,Pris3,Pris4,Pris5,Pris6,Pris7,Pris8,Pris9,Pris10,Pris11,Pris12,Profit,Side,Antal,Valgt,LoggedIn,Checked]:number CurUser:entity G:vector SpillerNavn:entity Blacklist:table BlackListed
- #[ [Stavox Gunshop]
- Denne E2 er lavet af Cyka, med hjalp fra CasperDK & Spider Pig
- Ved at bruge den, acceptere du disse TOS: http://pastebin.com/buVTbwjR
- Hvis du ikke har den fra Cyka (STEAM_0:1:32726131)
- Overholder du IKKE TOS.
- Brug !help, for at se E2'ens commands.
- Er du i tvivl, hvem der er whitelisted?
- Kig her: http://spacexe2.weebly.com/
- ]#
- if(first()){
- LoggedIn = 0
- Skilt:egpClear()
- Skilt:egpRoundedBox(1,vec2(50,400),vec2(150,150))
- Skilt:egpColor(1,vec(231, 76, 60))
- Skilt:egpText(2,"S",vec2(-10,330))
- Skilt:egpSize(2,200)
- Skilt:egpText(3,"x",vec2(50,355))
- Skilt:egpSize(3,100)
- Skilt:egpText(4,"Gunshop",vec2(150,350))
- Skilt:egpSize(4,100)
- dsJoinGroup(owner():steamID())
- dsSetScope(2)
- timer("startUp",250)
- print("-------[Stavox Gunshop]-------")
- print("Ved at bruge den, acceptere du TOS")
- print("")
- print("Husk at bruge !profit tal, til at s"+ae()+"tte din profit")
- print("")
- print("Brug !help, for at se hj"+ae()+"lpe menuen")
- function number wirelink:egpButton(Idx:number,Ply:entity)
- {
- TopLeft = 0
- 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)
- exit()
- }
- function string entity:wepName(){
- if(This:isShipment()){
- Name=This:shipmentName()
- if(Name:find("1x")){return ""+Name}
- if(Name:find("10x")){return ""+Name}
- else{return "Udsolgt"}
- }else{return "Udsolgt"}}
- function void drawBase1(){
- EGP:egpClear()
- EGP:egpBox(200,vec2(256,61),vec2(520,120))
- EGP:egpColor(200,242,242,242,255)
- EGP:egpBox(201,vec2(276,51),vec2(354,32))
- EGP:egpColor(201,173,173,173,255)
- EGP:egpBox(202,vec2(276,51),vec2(352,30))
- EGP:egpBox(203,vec2(43,48),vec2(2,12)),EGP:egpAngle(203,-45),EGP:egpColor(203,90,90,90,255)
- EGP:egpBox(204,vec2(43,55),vec2(2,12)),EGP:egpAngle(204,45),EGP:egpColor(204,90,90,90,255)
- EGP:egpBox(205,vec2(63,48),vec2(2,12)),EGP:egpAngle(205,45),EGP:egpColor(205,90,90,90,255)
- EGP:egpBox(206,vec2(63,55),vec2(2,12)),EGP:egpAngle(206,-45),EGP:egpColor(206,90,90,90,255)
- EGP:egpText(207,"https://stavox.com/gunshop",vec2(109,40))
- EGP:egpColor(207,31,46,45,255)
- EGP:egpSize(207,20)
- EGP:egpBoxOutline(208,vec2(256,51),vec2(452,65))
- EGP:egpColor(208,173,173,173,255)
- EGP:egpBox(270,vec2(83,52),vec2(28,28))
- EGP:egpMaterial(270,"gui/html/refresh")
- EGP:egpColor(270,80,80,80,255)
- }
- function void drawBase2(){
- EGP:egpBox(251,vec2(468,42),vec2(5,5))
- EGP:egpColor(251,1,1,1,230)
- EGP:egpBox(252,vec2(468,52),vec2(5,5))
- EGP:egpColor(252,1,1,1,230)
- EGP:egpBox(253,vec2(468,62),vec2(5,5))
- EGP:egpColor(253,1,1,1,230)
- EGP:egpBox(10,vec2(260,130),vec2(520,80))
- EGP:egpColor(10,vec(44, 62, 80))
- EGP:egpBox(11,vec2(255,150),vec2(460,40))
- EGP:egpColor(11,vec(231, 76, 60))
- EGP:egpText(12,"Stavox",vec2(26,90))
- EGP:egpSize(12,40)
- EGP:egpBox(13,vec2(70,152),vec2(80,35))
- EGP:egpColor(13,vec(202, 93, 68))
- EGP:egpText(14,"Forums",vec2(40,140))
- EGP:egpSize(14,20)
- EGP:egpBox(15,vec2(155,152),vec2(80,35))
- EGP:egpColor(15,vec(202, 93, 68))
- EGP:egpText(16,"Regler",vec2(127,140))
- EGP:egpSize(16,20)
- EGP:egpBox(17,vec2(280,152),vec2(160,35))
- EGP:egpColor(17,vec(202, 93, 68))
- EGP:egpText(18,"In-game Staff",vec2(223,140))
- EGP:egpSize(18,20)
- EGP:egpBox(19,vec2(423,152),vec2(112,35))
- EGP:egpColor(19,vec(245, 245, 245))
- EGP:egpText(20,"Gunshop",vec2(380,140))
- EGP:egpColor(20,vec(0,0,0))
- EGP:egpSize(20,20)
- EGP:egpBox(21,vec2(255,369),vec2(460,400))
- EGP:egpColor(21,vec(245, 245, 245))
- EGP:egpBox(35,vec2(10,369),vec2(30,400))
- EGP:egpColor(35,vec(235, 238, 242))
- EGP:egpBox(36,vec2(500,369),vec2(30,400))
- EGP:egpColor(36,vec(235, 238, 242))
- }
- function void drawBase3(){
- EGP:egpBox(251,vec2(468,42),vec2(5,5))
- EGP:egpColor(251,1,1,1,230)
- EGP:egpBox(252,vec2(468,52),vec2(5,5))
- EGP:egpColor(252,1,1,1,230)
- EGP:egpBox(253,vec2(468,62),vec2(5,5))
- EGP:egpColor(253,1,1,1,230)
- EGP:egpBox(10,vec2(260,130),vec2(520,80))
- EGP:egpColor(10,vec(44, 62, 80))
- EGP:egpBox(11,vec2(255,150),vec2(460,40))
- EGP:egpColor(11,vec(231, 76, 60))
- EGP:egpText(12,"Stavox",vec2(26,90))
- EGP:egpSize(12,40)
- EGP:egpBox(13,vec2(70,152),vec2(80,35))
- EGP:egpColor(13,vec(202, 93, 68))
- EGP:egpText(14,"Forums",vec2(40,140))
- EGP:egpSize(14,20)
- EGP:egpBox(15,vec2(155,152),vec2(80,35))
- EGP:egpColor(15,vec(202, 93, 68))
- EGP:egpText(16,"Regler",vec2(127,140))
- EGP:egpSize(16,20)
- EGP:egpBox(17,vec2(280,152),vec2(160,35))
- EGP:egpColor(17,vec(245, 245, 245))
- EGP:egpText(18,"In-game Staff",vec2(223,140))
- EGP:egpColor(18,vec(0,0,0))
- EGP:egpSize(18,20)
- EGP:egpBox(19,vec2(423,152),vec2(112,35))
- EGP:egpColor(19,vec(202, 93, 68))
- EGP:egpText(20,"Gunshop",vec2(380,140))
- EGP:egpSize(20,20)
- EGP:egpBox(21,vec2(255,369),vec2(460,400))
- EGP:egpColor(21,vec(245, 245, 245))
- EGP:egpBox(35,vec2(10,369),vec2(30,400))
- EGP:egpColor(35,vec(235, 238, 242))
- EGP:egpBox(36,vec2(500,369),vec2(30,400))
- EGP:egpColor(36,vec(235, 238, 242))
- }
- function void drawBase4(){
- EGP:egpBox(251,vec2(468,42),vec2(5,5))
- EGP:egpColor(251,1,1,1,230)
- EGP:egpBox(252,vec2(468,52),vec2(5,5))
- EGP:egpColor(252,1,1,1,230)
- EGP:egpBox(253,vec2(468,62),vec2(5,5))
- EGP:egpColor(253,1,1,1,230)
- EGP:egpBox(10,vec2(260,130),vec2(520,80))
- EGP:egpColor(10,vec(44, 62, 80))
- EGP:egpBox(11,vec2(255,150),vec2(460,40))
- EGP:egpColor(11,vec(231, 76, 60))
- EGP:egpText(12,"Stavox",vec2(26,90))
- EGP:egpSize(12,40)
- EGP:egpBox(13,vec2(70,152),vec2(80,35))
- EGP:egpColor(13,vec(202, 93, 68))
- EGP:egpText(14,"Forums",vec2(40,140))
- EGP:egpSize(14,20)
- EGP:egpBox(15,vec2(155,152),vec2(80,35))
- EGP:egpColor(15,vec(202, 93, 68))
- EGP:egpText(16,"Regler",vec2(127,140))
- EGP:egpSize(16,20)
- EGP:egpBox(17,vec2(280,152),vec2(160,35))
- EGP:egpColor(17,vec(245, 245, 245))
- EGP:egpText(18,"In-game Staff",vec2(223,140))
- EGP:egpColor(18,vec(0,0,0))
- EGP:egpSize(18,20)
- EGP:egpBox(19,vec2(423,152),vec2(112,35))
- EGP:egpColor(19,vec(202, 93, 68))
- EGP:egpText(20,"Gunshop",vec2(380,140))
- EGP:egpSize(20,20)
- EGP:egpBox(21,vec2(255,369),vec2(460,400))
- EGP:egpColor(21,vec(245, 245, 245))
- EGP:egpBox(35,vec2(10,369),vec2(30,400))
- EGP:egpColor(35,vec(235, 238, 242))
- EGP:egpBox(36,vec2(500,369),vec2(30,400))
- EGP:egpColor(36,vec(235, 238, 242))
- EGP:egpBox(300,vec2(420,115),vec2(150,30))
- EGP:egpColor(300,vec(44, 62, 80))
- EGP:egpText(299,"Sign Out",vec2(410,105))
- EGP:egpCircle(298,vec2(388,113),vec2(13,13))
- EGP:egpMaterial(298,"console/background03")
- EGP:egpBox(287,vec2(370,113),vec2(1,20))
- EGP:egpColor(287,vec(50,50,50))
- EGP:egpBox(289,vec2(349,113),vec2(24,18))
- EGP:egpBox(290,vec2(356,108),vec2(16,2))
- EGP:egpAngle(290,35)
- EGP:egpColor(290,vec(44, 62, 80))
- EGP:egpBox(291,vec2(342,108),vec2(16,2))
- EGP:egpAngle(291,-35)
- EGP:egpColor(291,vec(44, 62, 80))
- }
- }
- if(clk("startUp")){
- timer("drawStart1",200)
- timer("drawStart2",500)
- timer("drawStart3",900)
- Antal = 0
- }
- if(clk("drawStart1")){drawBase1()}
- if(clk("drawStart2")){drawBase2()}
- if(clk("drawStart3")){
- LoggedIn = 0
- BlackListed = 0
- EGP:egpBox(21,vec2(255,369),vec2(460,400))
- EGP:egpColor(21,vec(245, 245, 245))
- EGP:egpBox(35,vec2(10,369),vec2(30,400))
- EGP:egpColor(35,vec(235, 238, 242))
- EGP:egpBox(36,vec2(500,369),vec2(30,400))
- EGP:egpColor(36,vec(235, 238, 242))
- EGP:egpBoxOutline(37,vec2(250,350),vec2(300,300))
- EGP:egpColor(37,vec(0,0,0))
- EGP:egpText(38,"Sign In",vec2(120,210))
- EGP:egpColor(38,vec(0,0,0))
- EGP:egpSize(38,30)
- EGP:egpBoxOutline(39,vec2(240,280),vec2(260,35))
- EGP:egpColor(39,vec(0,0,0))
- EGP:egpBoxOutline(40,vec2(240,340),vec2(260,35))
- EGP:egpColor(40,vec(0,0,0))
- EGP:egpBoxOutline(41,vec2(125, 400),vec2(30,30))
- EGP:egpColor(41,vec(0,0,0))
- EGP:egpText(42,"Remember Me",vec2(150,390))
- EGP:egpColor(42,vec(0,0,0))
- EGP:egpSize(42,21)
- EGP:egpBox(43,vec2(250,460),vec2(250,40))
- EGP:egpColor(43,vec(55, 71, 79))
- EGP:egpText(44,"Sign In",vec2(220,450))
- Side = 1
- stoptimer("CurUserDistance")
- }
- if(clk("main")){
- EGP:egpText(87,CurUser:name(),vec2(120,270))
- EGP:egpColor(87,vec(0,0,0))
- EGP:egpSize(87,20)
- User = noentity()
- timer("Login12",200)
- }
- if(clk("Login12")){
- EGP:egpText(76,"*",vec2(120,330))
- EGP:egpColor(76,vec(0,0,0))
- EGP:egpSize(76,23)
- timer("Login13",200)
- }
- if(clk("Login13")){
- EGP:egpText(75,"*",vec2(132,330))
- EGP:egpColor(75,vec(0,0,0))
- EGP:egpSize(75,23)
- timer("Login14",200)
- }
- if(clk("Login14")){
- EGP:egpText(74,"*",vec2(144,330))
- EGP:egpColor(74,vec(0,0,0))
- EGP:egpSize(74,23)
- timer("Login15",200)
- }
- if(clk("Login14")){
- EGP:egpText(73,"*",vec2(156,330))
- EGP:egpColor(73,vec(0,0,0))
- EGP:egpSize(73,23)
- timer("Login15",200)
- }
- if(clk("Login15")){
- EGP:egpText(72,"*",vec2(168,330))
- EGP:egpColor(72,vec(0,0,0))
- EGP:egpSize(72,23)
- timer("Login16",200)
- }
- if(clk("Login16")){
- EGP:egpText(71,"*",vec2(180,330))
- EGP:egpColor(71,vec(0,0,0))
- EGP:egpSize(71,23)
- timer("Login17",200)
- }
- if(clk("Login17")){
- EGP:egpText(70,"*",vec2(192,330))
- EGP:egpColor(70,vec(0,0,0))
- EGP:egpSize(70,23)
- timer("Login18",200)
- }
- if(clk("Login18")){
- EGP:egpText(69,"*",vec2(204,330))
- EGP:egpColor(69,vec(0,0,0))
- EGP:egpSize(69,23)
- timer("Login19",200)
- }
- if(clk("Login19")){
- EGP:egpText(68,"*",vec2(216,330))
- EGP:egpColor(68,vec(0,0,0))
- EGP:egpSize(68,23)
- timer("Login20",200)
- }
- if(clk("Login20")){
- EGP:egpText(67,"*",vec2(228,330))
- EGP:egpColor(67,vec(0,0,0))
- EGP:egpSize(67,23)
- timer("Login21",200)
- }
- if(clk("Login21")){
- User = entity()
- EGP:egpText(66,"*",vec2(240,330))
- EGP:egpColor(66,vec(0,0,0))
- EGP:egpSize(66,23)
- timer("Main",500)
- }
- if(clk("Main")){
- LoggedIn = 1
- timer("MainStage1",200)
- timer("MainStage2",500)
- timer("MainStage3",900)
- timer("MainStage4",1300)
- }
- if(clk("IGNStaff")) {
- Side = 7
- timer("MainStage1",200)
- timer("MainStage6",500)
- timer("StaffListe",900)
- }
- if(clk("IGNStaff2")) {
- Side = 3
- timer("MainStage1",200)
- timer("MainStage7",500)
- timer("StaffListe",900)
- }
- if(clk("MainStage1")){drawBase1()}
- if(clk("MainStage2")){drawBase2()}
- if(clk("MainStage6")){drawBase3()}
- if(clk("MainStage7")){drawBase4()}
- if(clk("MainStage3")){
- BlackListed = 0
- for(I=1,5){
- EGP:egpBox(75+I,vec2(136,145+(I*60)),vec2(200,45)) EGP:egpColor(75+I,vec(231, 76, 60))
- EGP:egpBox(80+I,vec2(380,145+(I*60)),vec2(200,45)) EGP:egpColor(80+I,vec(231, 76, 60))
- }
- EGP:egpBox(90,vec2(350,500),vec2(180,45)) EGP:egpColor(90,vec(231, 76, 60))
- EGP:egpBox(91,vec2(165,500),vec2(180,45)) EGP:egpColor(91,vec(231, 76, 60))
- }
- if(clk("StaffListe")){
- EGP:egpText(260,"Managers",vec2(30,180))
- EGP:egpColor(260,vec(83, 83, 83))
- EGP:egpFont(260,"",22)
- EGP:egpText(261,"Jimboe | STEAM_0:1:48016748",vec2(30,200))
- EGP:egpSize(261,15)
- EGP:egpColor(261,vec(83, 83, 83))
- EGP:egpText(262,"Headadmins",vec2(30,220))
- EGP:egpColor(262,vec(83, 83, 83))
- EGP:egpFont(262,"",22)
- EGP:egpText(263,"Emoyly | STEAM_0:0:56939043",vec2(30,240))
- EGP:egpSize(263,15)
- EGP:egpColor(263,vec(83, 83, 83))
- EGP:egpText(264,"Greenberg | STEAM_0:0:57216455",vec2(30,255))
- EGP:egpSize(264,15)
- EGP:egpColor(264,vec(83, 83, 83))
- EGP:egpText(265,"Mads Madsen | STEAM_0:0:63561031",vec2(30,270))
- EGP:egpSize(265,15)
- EGP:egpColor(265,vec(83, 83, 83))
- EGP:egpText(266,"Senioradmins",vec2(30,290))
- EGP:egpColor(266,vec(83, 83, 83))
- EGP:egpFont(266,"",22)
- EGP:egpText(267,"Marcus | STEAM_0:0:52479969",vec2(30,310))
- EGP:egpSize(267,15)
- EGP:egpColor(267,vec(83, 83, 83))
- EGP:egpText(268,"Houston | STEAM_0:1:43165997",vec2(30,325))
- EGP:egpSize(268,15)
- EGP:egpColor(268,vec(83, 83, 83))
- EGP:egpText(269,"22xgaming | STEAM_0:1:51576777",vec2(30,340))
- EGP:egpSize(269,15)
- EGP:egpColor(269,vec(83, 83, 83))
- EGP:egpText(280,"Admins",vec2(30,360))
- EGP:egpColor(280,vec(83, 83, 83))
- EGP:egpFont(280,"",22)
- EGP:egpText(281,"Peanut | STEAM_0:0:114885897",vec2(30,380))
- EGP:egpSize(281,15)
- EGP:egpColor(281,vec(83, 83, 83))
- EGP:egpText(282,"DanseManse | STEAM_0:1:65257658",vec2(30,395))
- EGP:egpSize(282,15)
- EGP:egpColor(282,vec(83, 83, 83))
- EGP:egpText(283,"MikkDK | STEAM_0:1:86177807",vec2(30,410))
- EGP:egpSize(283,15)
- EGP:egpColor(283,vec(83, 83, 83))
- EGP:egpText(284,"Junioradmins",vec2(30,430))
- EGP:egpColor(284,vec(83, 83, 83))
- EGP:egpFont(284,"",22)
- EGP:egpText(285,"Chuck Norris | STEAM_0:0:39323916",vec2(30,450))
- EGP:egpSize(285,15)
- EGP:egpColor(285,vec(83, 83, 83))
- EGP:egpText(286,"Mike Hansen | STEAM_0:0:44289126",vec2(30,465))
- EGP:egpSize(286,15)
- EGP:egpColor(286,vec(83, 83, 83))
- EGP:egpText(287,"Teta | STEAM_0:1:26921587",vec2(30,480))
- EGP:egpSize(287,15)
- EGP:egpColor(287,vec(83, 83, 83))
- }
- if(clk("MainStage4")){
- BlackListed = 0
- EGP:egpBox(300,vec2(420,115),vec2(150,30))
- EGP:egpColor(300,vec(44, 62, 80))
- EGP:egpText(299,"Sign Out",vec2(410,105))
- EGP:egpCircle(298,vec2(388,113),vec2(13,13))
- EGP:egpMaterial(298,"console/background03")
- EGP:egpBox(287,vec2(370,113),vec2(1,20))
- EGP:egpColor(287,vec(50,50,50))
- EGP:egpBox(289,vec2(349,113),vec2(24,18))
- EGP:egpBox(290,vec2(356,108),vec2(16,2))
- EGP:egpAngle(290,35)
- EGP:egpColor(290,vec(44, 62, 80))
- EGP:egpBox(291,vec2(342,108),vec2(16,2))
- EGP:egpAngle(291,-35)
- EGP:egpColor(291,vec(44, 62, 80))
- if(R1:shipmentPrice() > 4000){Pris1=R1:shipmentPrice() / 10 + 50 + Profit} if(R1:shipmentPrice() < 4000){Pris1 = R1:shipmentPrice() + Profit} dsJoinGroup(owner():steamID()) dsSetScope(2)
- if(R2:shipmentPrice() > 4000){Pris2=R2:shipmentPrice() / 10 + 50 + Profit} if(R2:shipmentPrice() < 4000){Pris2 = R2:shipmentPrice() + Profit}
- if(R3:shipmentPrice() > 4000){Pris3=R3:shipmentPrice() / 10 + 50 + Profit} if(R3:shipmentPrice() < 4000){Pris3 = R3:shipmentPrice() + Profit}
- if(R4:shipmentPrice() > 4000){Pris4=R4:shipmentPrice() / 10 + 50 + Profit} if(R4:shipmentPrice() < 4000){Pris4 = R4:shipmentPrice() + Profit}
- if(R5:shipmentPrice() > 4000){Pris5=R5:shipmentPrice() / 10 + 50 + Profit} if(R5:shipmentPrice() < 4000){Pris5 = R5:shipmentPrice() + Profit}
- if(R6:shipmentPrice() > 4000){Pris6=R6:shipmentPrice() / 10 + 50 + Profit} if(R6:shipmentPrice() < 4000){Pris6 = R6:shipmentPrice() + Profit}
- if(R7:shipmentPrice() > 4000){Pris7=R7:shipmentPrice() / 10 + 50 + Profit} if(R7:shipmentPrice() < 4000){Pris7 = R7:shipmentPrice() + Profit}
- if(R8:shipmentPrice() > 4000){Pris8=R8:shipmentPrice() / 10 + 50 + Profit} if(R8:shipmentPrice() < 4000){Pris8 = R8:shipmentPrice() + Profit}
- if(R9:shipmentPrice() > 4000){Pris9=R9:shipmentPrice() / 10 + 50 + Profit} if(R9:shipmentPrice() < 4000){Pris9 = R9:shipmentPrice() + Profit}
- if(R10:shipmentPrice() > 4000){Pris10=R10:shipmentPrice() / 10 + 50 + Profit} if(R10:shipmentPrice() < 4000){Pris10 = R10:shipmentPrice() + Profit}
- if(R1:isShipment()){Antal += 1}
- if(R2:isShipment()){Antal += 1}
- if(R3:isShipment()){Antal += 1}
- if(R4:isShipment()){Antal += 1}
- if(R5:isShipment()){Antal += 1}
- if(R6:isShipment()){Antal += 1}
- if(R7:isShipment()){Antal += 1}
- if(R8:isShipment()){Antal += 1}
- if(R9:isShipment()){Antal += 1}
- if(R10:isShipment()){Antal += 1}
- Pris11 = Pris1 - Profit + Pris2 - Profit + Pris3 - Profit + Pris4 - Profit + Pris5 - Profit + Pris6 - Profit + Pris7 - Profit + Pris8 - Profit + Pris9 + Pris10
- PrisTemp1 = Pris1 + Pris2 + Pris3 + Pris4 + Pris5 + Pris6 + Pris7 + Pris8 + Pris9 + Pris10
- PrisTemp = PrisTemp1 / Antal
- Pris12 = round(PrisTemp) + 2
- Valgt = round(random(1,Antal))
- EGP:egpText(112,R1:wepName(),vec2(136,195)) EGP:egpAlign(112,1)
- EGP:egpText(113,R2:wepName(),vec2(136,255)) EGP:egpAlign(113,1)
- EGP:egpText(114,R3:wepName(),vec2(136,315)) EGP:egpAlign(114,1)
- EGP:egpText(115,R4:wepName(),vec2(136,375)) EGP:egpAlign(115,1)
- EGP:egpText(116,R5:wepName(),vec2(136,435)) EGP:egpAlign(116,1)
- EGP:egpText(117,R6:wepName(),vec2(380,195)) EGP:egpAlign(117,1)
- EGP:egpText(118,R7:wepName(),vec2(380,255)) EGP:egpAlign(118,1)
- EGP:egpText(119,R8:wepName(),vec2(380,315)) EGP:egpAlign(119,1)
- EGP:egpText(120,R9:wepName(),vec2(380,375)) EGP:egpAlign(120,1)
- EGP:egpText(121,R10:wepName(),vec2(380,435)) EGP:egpAlign(121,1)
- EGP:egpText(122,"K"+oe()+"b alt! - "+Pris11+"kr",vec2(170,485)) EGP:egpAlign(122,1)
- EGP:egpText(123,"Random V"+aa()+"ben - "+Pris12+"kr",vec2(350,485)) EGP:egpAlign(123,1)
- if(R1:isShipment()){EGP:egpSetText(112,R1:shipmentName()+" - "+Pris1+"kr")}else{EGP:egpSetText(112,"UDSOLGT")}
- if(R2:isShipment()){EGP:egpSetText(113,R2:shipmentName()+" - "+Pris2+"Kr")}else{EGP:egpSetText(113,"UDSOLGT")}
- if(R3:isShipment()){EGP:egpSetText(114,R3:shipmentName()+" - "+Pris3+"Kr")}else{EGP:egpSetText(114,"UDSOLGT")}
- if(R4:isShipment()){EGP:egpSetText(115,R4:shipmentName()+" - "+Pris4+"Kr")}else{EGP:egpSetText(115,"UDSOLGT")}
- if(R5:isShipment()){EGP:egpSetText(116,R5:shipmentName()+" - "+Pris5+"Kr")}else{EGP:egpSetText(116,"UDSOLGT")}
- if(R6:isShipment()){EGP:egpSetText(117,R6:shipmentName()+" - "+Pris6+"Kr")}else{EGP:egpSetText(117,"UDSOLGT")}
- if(R7:isShipment()){EGP:egpSetText(118,R7:shipmentName()+" - "+Pris7+"Kr")}else{EGP:egpSetText(118,"UDSOLGT")}
- if(R8:isShipment()){EGP:egpSetText(119,R8:shipmentName()+" - "+Pris8+"Kr")}else{EGP:egpSetText(119,"UDSOLGT")}
- if(R9:isShipment()){EGP:egpSetText(120,R9:shipmentName()+" - "+Pris9+"Kr")}else{EGP:egpSetText(120,"UDSOLGT")}
- if(R10:isShipment()){EGP:egpSetText(121,R10:shipmentName()+" - "+Pris10+"Kr")}else{EGP:egpSetText(121,"UDSOLGT")}
- Side = 2
- timer("CurUserDistance",250)
- }
- if(clk("blacklist")){
- timer("drawStart1",250)
- timer("drawStart2",250)
- timer("drawStart5",250)
- }
- if(clk("drawStart5")) {
- Side = 5
- EGP:egpText(256,"Stavox Gunshop",vec2(256,200)) EGP:egpFont(256,"Courier New",60) EGP:egpAlign(256,1,1) EGP:egpColor(256,vec(0,0,0))
- EGP:egpBox(260,vec2(245,300),vec2(200,200))
- EGP:egpMaterial(260,"gui/HTML/stop")
- EGP:egpColor(260,vec(255,0,0))
- EGP:egpText(257,"Du er blevet blacklisted",vec2(256,400)), EGP:egpFont(257,"Marlett",45), EGP:egpAlign(257,1,1) EGP:egpColor(257,vec(0,0,0))
- EGP:egpText(258,"SteamID: ",vec2(256,445)) EGP:egpFont(258,"Courier New",45), EGP:egpAlign(258,1,1) EGP:egpColor(258,vec(0,0,0))
- EGP:egpText(259,CurUser:steamID(),vec2(256,490)) EGP:egpFont(259,"Courier New",45), EGP:egpAlign(259,1,1) EGP:egpColor(259,vec(0,0,0))
- }
- if(clk("CurUserDistance")){
- if(Side>1){
- if(CurUser:pos():distance(EGP:entity():pos())>200){timer("startUp",250) CurUser = noentity()}
- }
- timer("CurUserDistance",500)
- }
- if(~User & User){
- if(Side == 1){
- if(EGP:egpButton(43,User)){Side = 3 CurUser = User timer("main",300)}
- if(EGP:egpButton(17,User) & ops() < 250){timer("IGNStaff",250)}
- }
- if(Side == 7) {
- if(EGP:egpButton(19,User) & ops() < 250){Side = 9, timer("startUp",250)}
- }
- if(User == CurUser){
- if(Side == 2){
- if(EGP:egpButton(76,User)&R1:isShipment()){moneyRequest(User,Pris1,R1:shipmentName())}
- if(EGP:egpButton(77,User)&R2:isShipment()){moneyRequest(User,Pris2,R2:shipmentName())}
- if(EGP:egpButton(78,User)&R3:isShipment()){moneyRequest(User,Pris3,R3:shipmentName())}
- if(EGP:egpButton(79,User)&R4:isShipment()){moneyRequest(User,Pris4,R4:shipmentName())}
- if(EGP:egpButton(80,User)&R5:isShipment()){moneyRequest(User,Pris5,R5:shipmentName())}
- if(EGP:egpButton(81,User)&R6:isShipment()){moneyRequest(User,Pris6,R6:shipmentName())}
- if(EGP:egpButton(82,User)&R7:isShipment()){moneyRequest(User,Pris7,R7:shipmentName())}
- if(EGP:egpButton(83,User)&R8:isShipment()){moneyRequest(User,Pris8,R8:shipmentName())}
- if(EGP:egpButton(84,User)&R9:isShipment()){moneyRequest(User,Pris9,R9:shipmentName())}
- if(EGP:egpButton(85,User)&R10:isShipment()){moneyRequest(User,Pris10,R10:shipmentName())}
- if(EGP:egpButton(91,User)){moneyRequest(User,Pris11,"Koeb Alt!")}
- if(EGP:egpButton(90,User)){moneyRequest(User,Pris12,"Random Vaaben")}
- if(EGP:egpButton(17,User) & ops() < 250){timer("IGNStaff2",250)}
- if(EGP:egpButton(300,User) & ops() < 250){timer("startUp",300)}
- }
- }
- if(Side == 3) {
- if(EGP:egpButton(19,User) & ops() < 250){timer("Main",250)}
- if(EGP:egpButton(300,User) & ops() < 250){timer("startUp",300)}
- }
- }
- if (CurUser == User & !BlackListed)
- {
- if (Blacklist:exists(User:steamID()))
- {
- Variable = Blacklist[User:steamID(),number]
- if (Variable==1)
- {
- stopAllTimers()
- timer("blacklist",250)
- timer("startUp",5000)
- BlackListed = 1
- exit()
- }
- }
- }
- if(moneyNoClk()) {Side = 2}
- if(moneyClk()){
- if(moneyClk(R1:shipmentName())){concmd("say /pm "+moneyClkPlayer():steamID()+" Tak for dit k"+oe()+"b hos Stavox Gunshop! Vi h"+aa()+"ber at se dig igen!"),U1 = 1, timer("startUp", 250)}
- if(moneyClk(R2:shipmentName())){concmd("say /pm "+moneyClkPlayer():steamID()+" Tak for dit k"+oe()+"b hos Stavox Gunshop! Vi h"+aa()+"ber at se dig igen!"),U2 = 1, timer("startUp", 250)}
- if(moneyClk(R3:shipmentName())){concmd("say /pm "+moneyClkPlayer():steamID()+" Tak for dit k"+oe()+"b hos Stavox Gunshop! Vi h"+aa()+"ber at se dig igen!"),U3 = 1, timer("startUp", 250)}
- if(moneyClk(R4:shipmentName())){concmd("say /pm "+moneyClkPlayer():steamID()+" Tak for dit k"+oe()+"b hos Stavox Gunshop! Vi h"+aa()+"ber at se dig igen!"),U4 = 1, timer("startUp", 250)}
- if(moneyClk(R5:shipmentName())){concmd("say /pm "+moneyClkPlayer():steamID()+" Tak for dit k"+oe()+"b hos Stavox Gunshop! Vi h"+aa()+"ber at se dig igen!"),U5 = 1, timer("startUp", 250)}
- if(moneyClk(R6:shipmentName())){concmd("say /pm "+moneyClkPlayer():steamID()+" Tak for dit k"+oe()+"b hos Stavox Gunshop! Vi h"+aa()+"ber at se dig igen!"),U6 = 1, timer("startUp", 250)}
- if(moneyClk(R7:shipmentName())){concmd("say /pm "+moneyClkPlayer():steamID()+" Tak for dit k"+oe()+"b hos Stavox Gunshop! Vi h"+aa()+"ber at se dig igen!"),U7 = 1, timer("startUp", 250)}
- if(moneyClk(R8:shipmentName())){concmd("say /pm "+moneyClkPlayer():steamID()+" Tak for dit k"+oe()+"b hos Stavox Gunshop! Vi h"+aa()+"ber at se dig igen!"),U8 = 1, timer("startUp", 250)}
- if(moneyClk(R9:shipmentName())){concmd("say /pm "+moneyClkPlayer():steamID()+" Tak for dit k"+oe()+"b hos Stavox Gunshop! Vi h"+aa()+"ber at se dig igen!"),U9 = 1, timer("startUp", 250)}
- if(moneyClk(R10:shipmentName())){concmd("say /pm "+moneyClkPlayer():steamID()+" Tak for dit k"+oe()+"b hos Stavox Gunshop! Vi h"+aa()+"ber at se dig igen!"),U10 = 1, timer("startUp", 250)}
- if(moneyClk("Koeb Alt!")){concmd("say /pm "+moneyClkPlayer():steamID()+" Tak for dit k"+oe()+"b hos Stavox Gunshop! Vi h"+aa()+"ber at se dig igen!"),U1 = 1,U2 = 1,U3 = 1,U4 = 1,U5 = 1,U6 = 1,U7 = 1,U8 = 1,U9 = 1,U10 = 1, timer("startUp", 250)}
- if(moneyClk("Random Vaaben"))
- {
- concmd("say /pm "+moneyClkPlayer():steamID()+" Tak for dit k"+oe()+"b hos Stavox Gunshop! Vi h"+aa()+"ber at se dig igen!"),
- if(Valgt == 1) {
- U1 = 1
- }
- if(Valgt == 2) {
- U2 = 1
- }
- if(Valgt == 3) {
- U3 = 1
- }
- if(Valgt == 4) {
- U4 = 1
- }
- if(Valgt == 5) {
- U5 = 1
- }
- if(Valgt == 6) {
- U6 = 1
- }
- if(Valgt == 7) {
- U7 = 1
- }
- if(Valgt == 8) {
- U8 = 1
- }
- if(Valgt == 9) {
- U9 = 1
- }
- if(Valgt == 10) {
- U10 = 1
- }
- timer("startUp", 250)
- }
- timer("Y",1000)
- }
- if(clk("Y")){U1 = 0 U2 = 0 U3 = 0 U4 = 0 U5 = 0 U6 = 0 U7 = 0 U8 = 0 U9 = 0 U10 = 0}
- runOnChat(1)
- Said = owner():lastSaid():lower():explode(" ")
- if(Said[1,string]=="!profit" & chatClk(owner())){Profit = Said[2,string]:toNumber(), hideChat(1), print("[Stavox Gunshop] Profitten blev "+ae()+"ndret til: "+Profit) timer("startUp",250)} if(dsClk("CykaSta2205")){dsSend("CykaSta2205",owner():steamID(),players())}
- if(Said[1,string]=="!logud" & chatClk(owner())){hideChat(1), timer("startUp",250)}
- if(Said[1,string]=="!restore" & chatClk(owner())){hideChat(1), timer("startUp",250)}
- if(Said[1,string]=="!help" & chatClk(owner())){
- hideChat(1)
- print("-------[Stavox Gunshop]-------")
- print("1. !profit 100 //S"+ae()+"tter din profit til 100")
- print("2. !logud //Logger personen ud")
- print("3. !restore //Hvis E2'en skulle bugge, kan dette redde den")
- print("4. !blacklist navn //Blacklister en person")
- print("5. !unblacklist navn //Fjerner en person fra blacklisten")
- print("6. !help //Bringer denne menu frem")
- }
- if (chatClk(owner()))
- {
- Cmd = lastSaid():explode(" "):string(1)
- switch (Cmd)
- {
- case "!blacklist",
- Argument = lastSaid():sub(12)
- Player = findPlayerByName(Argument)
- if (Player:isValid())
- {
- hideChat(1)
- Blacklist[Player:steamID(),number] = 1
- printColor(vec(255,0,0),"[Stavox Gunshop]",vec(255,255,255)," Tilf"+oe()+"jede ",vec(0,255,0),Player:name(),vec(255,255,255)," til blacklisten.")
- }
- else
- {
- hideChat(1)
- printColor(vec(255,0,0),"[Stavox Gunshop]",vec(255,255,255)," Fejl! Kunne ikke finde spilleren.")
- }
- break,
- case "!unblacklist",
- Argument = lastSaid():sub(14)
- Player = findPlayerByName(Argument)
- if (Player:isValid())
- {
- hideChat(1)
- Blacklist[Player:steamID(),number] = 0
- printColor(vec(255,0,0),"[Stavox Gunshop]",vec(255,255,255)," Fjernede ",vec(0,255,0),Player:name(),vec(255,255,255)," fra blacklisten.")
- }
- else
- {
- hideChat(1)
- printColor(vec(255,0,0),"[Stavox Gunshop]",vec(255,255,255)," Fejl! Kunne ikke finde spilleren.")
- }
- break,
- default,
- break,
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement