Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @name Merl | SNOWLAND | Version 1.03
- @inputs EGP:wirelink User:entity K:wirelink KU:entity [R1,R2,R3,R4,R5,R6,R7,R8,R9]:entity
- @outputs Door U1 U2 U3 U4 U5 U6 U7 U8 U9
- @persist [S,SS,SSS,Profit,Rabat,C1,C2,C3,C4,C5,C6,C7,C8,C9,Pris,Count,Omsat,Tjent,Onlinevaaben,OpeningTime,Klar,RR,Lk,BlacklistPrice,BlackPrice]:number
- @persist CurUser:entity [Spawner,Name,Password,Seneste,Link]:string [Lname,Lpassword]:array Move Players:table
- @trigger
- if(duped() | dupefinished()){reset()}
- if(first()){
- #------CONFIG------#
- Profit = 500
- Rabat = 20
- BlackPrice = 15000
- #-----------------#
- timer("beting",250)
- timer("kbeting",1000)
- stoptimer("CurUserDistance")
- Spawner = owner():name():sub(0,9)
- runOnChat(1)
- setName("------------------------------
- S N O W L A N D
- - Version 1.03 -
- - Udviklet af Merlin -
- ------------------------------")
- function number wirelink:egpButton(Idx:number,Ply:entity)
- {
- TL = This:egpPos(Idx) - This:egpSize(Idx) / 2 * (0 ? 0 : 1)
- BR = This:egpPos(Idx) + This:egpSize(Idx) / (0 ? 1 : 2)
- Cur = This:egpCursor(Ply) return inrange(Cur, TL, BR) exit()
- }
- function number entity:wepPrice()
- {
- if(This:isShipment()){
- O = (This:shipmentPrice()*Rabat)/100
- return round(This:shipmentPrice()+Profit-O)+BlacklistPrice
- }else{return 0}
- }
- function string entity:wepName()
- {
- if(This:isShipment()){
- return This:shipmentName()
- }else{return "Udsolgt"}
- }
- function number shipmentInStock()
- {
- return (R1:isShipment() || R2:isShipment() || R3:isShipment() || R4:isShipment() || R5:isShipment() || R6:isShipment() || R7:isShipment() || R8:isShipment() || R9:isShipment())
- }
- function void addCursor(){
- EGP:egpPoly(999,array(vec2(0,0),vec2(0,15),vec2(3,12),vec2(5,15),vec2(7,15),vec2(6,11),vec2(10,10)))
- EGP:egpColor(999,0,0,0,200)
- EGP:egpParentToCursor(999)
- }
- Link = "https://hastebin.com/pemazakema.md"
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," Skriv !accepter for at starte E2'en. Ved opstart af E2'en accepterer du vores ",vec(255,0,0)," TOS! ",vec(57,194,86),+Link)
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," Det er vigtigt at du l"+ae()+"ser vores betingelser!")
- }
- #--------------------------------------------------------------------------------------------------------------------------------------------------------#
- if(clk("webs")){
- S = 1
- EGP:egpClear()
- EGP:egpBox(1,vec2(256,256),vec2(512,512))
- EGP:egpMaterial(1,"console/background06")
- EGP:egpBox(2,vec2(256,256),vec2(512,512))
- EGP:egpColor(2,vec4(25,25,25,235))
- EGP:egpBoxOutline(3,vec2(256,125),vec2(514,65))
- EGP:egpColor(3,vec(35,35,35))
- EGP:egpMaterial(3,"gui/center_gradient")
- EGP:egpBox(4,vec2(256,125),vec2(514,65))
- EGP:egpColor(4,vec4(225,225,225,12))
- EGP:egpMaterial(4,"gui/center_gradient")
- EGP:egpText(5,"S N O W L A N D",vec2(256,125))
- EGP:egpAlign(5,1,1)
- EGP:egpFont(5,"Courier New")
- EGP:egpSize(5,36)
- EGP:egpPoly(6,vec2(130,376),vec2(382,376),vec2(357,400),vec2(155,400))
- EGP:egpColor(6,vec(225,225,225))
- EGP:egpBox(14,vec2(256,388),vec2(250,24))
- EGP:egpAlpha(14,0)
- EGP:egpText(7,"Login",vec2(256,388))
- EGP:egpAlign(7,1,1)
- EGP:egpFont(7,"Courier New")
- EGP:egpSize(7,22)
- EGP:egpColor(7,vec(0,0,0))
- ##Email
- EGP:egpBox(8,vec2(256,318),vec2(250,30))
- EGP:egpColor(8,vec4(80,80,80,75))
- ##Password
- EGP:egpBox(9,vec2(256,354),vec2(250,30))
- EGP:egpColor(9,vec4(80,80,80,75))
- EGP:egpText(10,"@",vec2(145,316))
- EGP:egpAlign(10,1,1)
- EGP:egpFont(10,"Verdana")
- EGP:egpSize(10,20)
- EGP:egpText(11,"#",vec2(143,354))
- EGP:egpAlign(11,1,1)
- EGP:egpFont(11,"Courier New")
- EGP:egpSize(11,20)
- EGP:egpBox(12,vec2(156,318),vec2(1,20))
- EGP:egpColor(12,vec(125,125,125))
- EGP:egpBox(13,vec2(156,354),vec2(1,20))
- EGP:egpColor(13,vec(125,125,125))
- Name = ""
- EGP:egpText(16,Name,vec2(164,318))
- EGP:egpAlign(16,0,1)
- EGP:egpFont(16,"Courier New")
- EGP:egpSize(16,20)
- Password = ""
- EGP:egpText(17,Password,vec2(164,354))
- EGP:egpAlign(17,0,1)
- EGP:egpFont(17,"Courier New")
- EGP:egpSize(17,20)
- CurUser = noentity() C1=0 C2=0 C3=0 C4=0 C5=0 C6=0 C7=0 C8=0 C9 = 0 Pris = 0
- addCursor()
- }
- if(clk("shop")){
- Y = 14
- X = -10
- S = 2
- EGP:egpClear()
- EGP:egpBox(1,vec2(256,256),vec2(512,512))
- EGP:egpMaterial(1,"console/background06")
- EGP:egpBox(2,vec2(256,256),vec2(512,512))
- EGP:egpColor(2,vec4(25,25,25,235))
- EGP:egpBox(3,vec2(370,256),vec2(1,512))
- EGP:egpColor(3,vec(0,0,0))
- EGP:egpBox(4,vec2(441,256),vec2(141,512))
- EGP:egpColor(4,vec4(35,35,35,150))
- EGP:egpCircleOutline(5,vec2(441,98),vec2(38,38))
- EGP:egpColor(5,vec(0,0,0))
- EGP:egpCircle(6,vec2(441,98),vec2(37,37))
- EGP:egpColor(6,vec4(56,56,56,120))
- EGP:egpText(7,"SL",vec2(441,98))
- EGP:egpAlign(7,1,1)
- EGP:egpFont(7,"Courier New")
- EGP:egpSize(7,36)
- ##RABAT
- EGP:egpPoly(9,vec2(0,0),vec2(297,0),vec2(277,20),vec2(0,20))
- EGP:egpText(10,"Vi har lige nu "+Rabat+"% p"+aa()+" vores sortiment!",vec2(140,10))
- EGP:egpAlign(10,1,1)
- EGP:egpFont(10,"Courier New")
- EGP:egpSize(10,14)
- EGP:egpColor(10,vec(0,0,0))
- ##Products
- EGP:egpPoly(11,vec2(20,114-Y),vec2(45,90-Y),vec2(325,90-Y),vec2(350,114-Y))
- EGP:egpBox(12,vec2(20,280-Y),vec2(1,330))
- EGP:egpColor(12,vec(0,0,0))
- EGP:egpBox(13,vec2(350,280-Y),vec2(1,330))
- EGP:egpColor(13,vec(0,0,0))
- EGP:egpText(14,"- Snowland Shop -",vec2(184,103-Y))
- EGP:egpAlign(14,1,1)
- EGP:egpFont(14,"Courier New")
- EGP:egpSize(14,18)
- EGP:egpColor(14,vec(0,0,0))
- EGP:egpPoly(15,vec2(20,446-Y),vec2(45,470-Y),vec2(325,470-Y),vec2(350,446-Y))
- EGP:egpBox(16,vec2(184,280-Y),vec2(330,330))
- EGP:egpColor(16,vec4(25,25,25,200))
- EGP:egpText(17,"Udviklet af merlin",vec2(184,458-Y))
- EGP:egpAlign(17,1,1)
- EGP:egpFont(17,"Courier New")
- EGP:egpSize(17,12)
- EGP:egpColor(17,vec(0,0,0))
- EGP:egpBox(18,vec2(184,115),vec2(328,30))
- EGP:egpColor(18,vec(50,50,50))
- EGP:egpText(21,"V"+aa()+"ben afdeling",vec2(184,115))
- EGP:egpAlign(21,1,1)
- EGP:egpFont(21,"Courier New")
- EGP:egpSize(21,16)
- EGP:egpBox(23,vec2(184,130),vec2(328,1))
- EGP:egpColor(23,vec(50,141,194))
- }
- if(clk("bshop")){
- S = 2
- Y = 14
- X = -10
- EGP:egpBox(24,vec2(80,170-X),vec2(90,64))
- EGP:egpBox(25,vec2(184,170-X),vec2(90,64))
- EGP:egpBox(26,vec2(288,170-X),vec2(90,64))
- #--2
- EGP:egpBox(27,vec2(80,264-X),vec2(90,64))
- EGP:egpBox(28,vec2(184,264-X),vec2(90,64))
- EGP:egpBox(29,vec2(288,264-X),vec2(90,64))
- #--3
- EGP:egpBox(30,vec2(80,356-X),vec2(90,64))
- EGP:egpBox(31,vec2(184,356-X),vec2(90,64))
- EGP:egpBox(32,vec2(288,356-X),vec2(90,64))
- }
- if(clk("bshop1")){
- Y = 14
- X = -10
- S = 2
- ##Poly box
- #--1
- EGP:egpPoly(33,vec2(34,202-X),vec2(48,220-X),vec2(112,220-X),vec2(126,202-X))
- EGP:egpColor(33,vec(40,40,40))
- EGP:egpPoly(34,vec2(138,202-X),vec2(152,220-X),vec2(216,220-X),vec2(230,202-X))
- EGP:egpColor(34,vec(40,40,40))
- EGP:egpPoly(35,vec2(242,202-X),vec2(256,220-X),vec2(320,220-X),vec2(334,202-X))
- EGP:egpColor(35,vec(40,40,40))
- #--2
- EGP:egpPoly(36,vec2(34,294-X),vec2(48,312-X),vec2(112,312-X),vec2(126,294-X))
- EGP:egpColor(36,vec(40,40,40))
- EGP:egpPoly(37,vec2(138,294-X),vec2(152,312-X),vec2(216,312-X),vec2(230,294-X))
- EGP:egpColor(37,vec(40,40,40))
- EGP:egpPoly(38,vec2(242,294-X),vec2(256,312-X),vec2(320,312-X),vec2(334,294-X))
- EGP:egpColor(38,vec(40,40,40))
- #--3
- EGP:egpPoly(39,vec2(34,388-X),vec2(48,406-X),vec2(112,406-X),vec2(126,388-X))
- EGP:egpColor(39,vec(40,40,40))
- EGP:egpPoly(40,vec2(138,388-X),vec2(152,406-X),vec2(216,406-X),vec2(230,388-X))
- EGP:egpColor(40,vec(40,40,40))
- EGP:egpPoly(41,vec2(242,388-X),vec2(256,406-X),vec2(320,406-X),vec2(334,388-X))
- EGP:egpColor(41,vec(40,40,40))
- }
- if(clk("tshop")){
- S = 2
- EGP:egpText(43,+R1:wepName():sub(0,8),vec2(80,180))
- EGP:egpText(44,+R2:wepName():sub(0,8),vec2(184,180))
- EGP:egpText(45,+R3:wepName():sub(0,8),vec2(288,180))
- EGP:egpText(46,+R4:wepName():sub(0,8),vec2(80,274))
- EGP:egpText(47,+R5:wepName():sub(0,8),vec2(184,274))
- EGP:egpText(48,+R6:wepName():sub(0,8),vec2(288,274))
- EGP:egpText(49,+R7:wepName():sub(0,8),vec2(80,366))
- EGP:egpText(50,+R8:wepName():sub(0,8),vec2(184,366))
- EGP:egpText(51,+R9:wepName():sub(0,8),vec2(288,366))
- for(I=1,9){EGP:egpAlign(42+I,1,1) EGP:egpFont(42+I,"Courier New") EGP:egpSize(42+I,16) EGP:egpColor(42+I,vec(0,0,0))}
- }
- if(clk("tshop1")){
- S = 2
- EGP:egpText(53,+R1:wepPrice()+",-",vec2(80,221))
- EGP:egpText(54,+R2:wepPrice()+",-",vec2(184,221))
- EGP:egpText(55,+R3:wepPrice()+",-",vec2(288,221))
- EGP:egpText(56,+R4:wepPrice()+",-",vec2(80,315))
- EGP:egpText(57,+R5:wepPrice()+",-",vec2(184,315))
- EGP:egpText(58,+R6:wepPrice()+",-",vec2(288,315))
- EGP:egpText(59,+R7:wepPrice()+",-",vec2(80,407))
- EGP:egpText(60,+R8:wepPrice()+",-",vec2(184,407))
- EGP:egpText(61,+R9:wepPrice()+",-",vec2(288,407))
- for(I=1,9){EGP:egpAlign(52+I,1,1) EGP:egpFont(52+I,"Courier New") EGP:egpSize(52+I,12)}
- }
- if(clk("sidetext")){
- S = 2
- EGP:egpText(62,"Velkommen til",vec2(441,150))
- EGP:egpAlign(62,1,1)
- EGP:egpFont(62,"Courier New")
- EGP:egpSize(62,17)
- EGP:egpText(63,CurUser:name(),vec2(441,166))
- EGP:egpAlign(63,1,1)
- EGP:egpFont(63,"Courier New")
- EGP:egpSize(63,17)
- EGP:egpPoly(64,vec2(512,512),vec2(371,512),vec2(393,490),vec2(512,490))
- EGP:egpText(65,"Til betaling",vec2(449,501))
- EGP:egpAlign(65,1,1)
- EGP:egpFont(65,"Courier New")
- EGP:egpSize(65,16)
- EGP:egpColor(65,vec(0,0,0))
- EGP:egpPoly(66,vec2(512,0),vec2(371,0),vec2(393,22),vec2(512,22))
- EGP:egpText(67,"Log af",vec2(447,11))
- EGP:egpAlign(67,1,1)
- EGP:egpFont(67,"Courier New")
- EGP:egpSize(67,16)
- EGP:egpColor(67,vec(0,0,0))
- ##Log af knap
- EGP:egpBox(68,vec2(441,11),vec2(141,20))
- EGP:egpAlpha(68,0)
- EGP:egpBox(69,vec2(441,501),vec2(141,20))
- EGP:egpAlpha(69,0)
- ##Total
- EGP:egpBox(70,vec2(441,270),vec2(120,60))
- EGP:egpBox(71,vec2(441,270),vec2(120,1))
- EGP:egpColor(71,vec(0,0,0))
- EGP:egpText(72,"Total",vec2(441,255))
- EGP:egpAlign(72,1,1)
- EGP:egpSize(72,20)
- EGP:egpFont(72,"Courier New")
- EGP:egpColor(72,vec(0,0,0))
- EGP:egpText(73,"0,00,-",vec2(441,285))
- EGP:egpAlign(73,1,1)
- EGP:egpSize(73,20)
- EGP:egpFont(73,"Courier New")
- EGP:egpColor(73,vec(0,0,0))
- addCursor()
- }
- if(Rabat == 0 & S == 2){
- EGP:egpRemove(9)
- EGP:egpRemove(10)
- }
- #--------------------------------------------------------------------------------------------------------------------------------------------------------#
- #--- Kontrol panel ---#
- if(clk("kontrolp")){
- SS = 1
- K:egpClear()
- K:egpBox(1,vec2(256,256),vec2(512,512))
- K:egpMaterial(1,"console/background06")
- K:egpBox(2,vec2(256,256),vec2(512,512))
- K:egpColor(2,vec4(25,25,25,235))
- K:egpBoxOutline(3,vec2(256,256),vec2(400,250))
- K:egpColor(3,vec(0,0,0))
- K:egpPoly(4,vec2(56,132),vec2(88,100),vec2(424,100),vec2(456,132))
- K:egpText(5,"- S N O W L A N D -",vec2(256,118))
- K:egpAlign(5,1,1)
- K:egpFont(5,"Courier New")
- K:egpColor(5,vec(0,0,0))
- K:egpSize(5,24)
- K:egpPoly(6,vec2(56,380),vec2(88,412),vec2(424,412),vec2(456,380))
- K:egpText(100,"- Kontrol panel -",vec2(256,397))
- K:egpAlign(100,1,1)
- K:egpFont(100,"Courier New")
- K:egpColor(100,vec(0,0,0))
- K:egpSize(100,24)
- K:egpBox(7,vec2(160,256),vec2(1,248))
- K:egpColor(7,vec(0,0,0))
- #Hjem
- K:egpBox(8,vec2(108,164),vec2(102,62))
- K:egpColor(8,vec(28,28,28))
- #Statistikker
- K:egpBox(9,vec2(108,226),vec2(102,62))
- K:egpColor(9,vec(25,25,25))
- ##DELINGS BOX
- K:egpBox(10,vec2(108,196),vec2(102,1))
- K:egpColor(10,vec(33,33,33))
- #Ins
- K:egpBox(11,vec2(108,288),vec2(102,62))
- K:egpColor(11,vec(25,25,25))
- ##DELINGS BOX
- K:egpBox(12,vec2(108,258),vec2(102,1))
- K:egpColor(12,vec(33,33,33))
- #Tjekv
- K:egpBox(13,vec2(108,350),vec2(102,61))
- K:egpColor(13,vec(25,25,25))
- ##DELINGS BOX
- K:egpBox(14,vec2(108,320),vec2(102,1))
- K:egpColor(14,vec(33,33,33))
- K:egpText(15,"Forside",vec2(108,164))
- K:egpAlign(15,1,1)
- K:egpFont(15,"Courier New")
- K:egpSize(15,16)
- K:egpText(16,"Statistikker",vec2(108,226))
- K:egpAlign(16,1,1)
- K:egpFont(16,"Courier New")
- K:egpSize(16,16)
- K:egpText(17,"Indstillinger",vec2(108,288))
- K:egpAlign(17,1,1)
- K:egpFont(17,"Courier New")
- K:egpSize(17,16)
- K:egpText(18,"Tjek - V"+aa()+"ben",vec2(108,350))
- K:egpAlign(18,1,1)
- K:egpFont(18,"Courier New")
- K:egpSize(18,16)
- K:egpBox(19,vec2(159,164),vec2(1,62))
- K:egpColor(19,vec(50,141,194))
- K:egpBox(20,vec2(308,256),vec2(295,248))
- K:egpColor(20,vec4(35,35,35,175))
- K:egpText(21,"S N O W L A N D",vec2(308,160))
- K:egpAlign(21,1,1)
- K:egpFont(21,"Courier New")
- K:egpSize(21,20)
- K:egpBox(22,vec2(308,172),vec2(174,1))
- K:egpText(23,"Gunshop",vec2(308,183))
- K:egpAlign(23,1,1)
- K:egpFont(23,"Courier New")
- K:egpSize(23,20)
- K:egpText(24,"Velkommen til Snowland gunshop "+Spawner+"",vec2(170,210))
- K:egpAlign(24,0,1)
- K:egpFont(24,"Courier New")
- K:egpSize(24,14)
- K:egpText(25,"Tak for dit k"+oe()+"b hos E2whitelist.com!",vec2(170,224))
- K:egpAlign(25,0,1)
- K:egpFont(25,"Courier New")
- K:egpSize(25,14)
- K:egpText(26,"Denne E2 er udviklet af: Merlin",vec2(170,238))
- K:egpAlign(26,0,1)
- K:egpFont(26,"Courier New")
- K:egpSize(26,14)
- K:egpText(27,"& denne e2 m"+aa()+" under ingen omstndigheder",vec2(170,252))
- K:egpAlign(27,0,1)
- K:egpFont(27,"Courier New")
- K:egpSize(27,14)
- K:egpText(28,"blive solgt videre til andre!",vec2(170,266))
- K:egpAlign(28,0,1)
- K:egpFont(28,"Courier New")
- K:egpSize(28,14)
- K:egpText(29,"Vi h"+aa()+"ber du bliver glad for E2'en!",vec2(170,290))
- K:egpAlign(29,0,1)
- K:egpFont(29,"Courier New")
- K:egpSize(29,14)
- K:egpText(30,"-- E2whitelist.com",vec2(170,304))
- K:egpAlign(30,0,1)
- K:egpFont(30,"Courier New")
- K:egpSize(30,14)
- K:egpText(31,"Nuv"+ae()+"rende profit: "+Profit,vec2(172,340))
- K:egpAlign(31,0,1)
- K:egpFont(31,"Courier New")
- K:egpSize(31,16)
- K:egpText(32,"Brug !commands for at se commands",vec2(172,356))
- K:egpAlign(32,0,1)
- K:egpFont(32,"Courier New")
- K:egpSize(32,16)
- }
- if(clk("statistikker")){
- SS = 2
- K:egpClear()
- K:egpBox(1,vec2(256,256),vec2(512,512))
- K:egpMaterial(1,"console/background06")
- K:egpBox(2,vec2(256,256),vec2(512,512))
- K:egpColor(2,vec4(25,25,25,235))
- K:egpBoxOutline(3,vec2(256,256),vec2(400,250))
- K:egpColor(3,vec(0,0,0))
- K:egpPoly(4,vec2(56,132),vec2(88,100),vec2(424,100),vec2(456,132))
- K:egpText(5,"- S N O W L A N D -",vec2(256,118))
- K:egpAlign(5,1,1)
- K:egpFont(5,"Courier New")
- K:egpColor(5,vec(0,0,0))
- K:egpSize(5,24)
- K:egpPoly(6,vec2(56,380),vec2(88,412),vec2(424,412),vec2(456,380))
- K:egpText(100,"- Kontrol panel -",vec2(256,397))
- K:egpAlign(100,1,1)
- K:egpFont(100,"Courier New")
- K:egpColor(100,vec(0,0,0))
- K:egpSize(100,24)
- K:egpBox(7,vec2(160,256),vec2(1,248))
- K:egpColor(7,vec(0,0,0))
- #Hjem
- K:egpBox(8,vec2(108,164),vec2(102,62))
- K:egpColor(8,vec(25,25,25))
- #Statistikker
- K:egpBox(9,vec2(108,226),vec2(102,62))
- K:egpColor(9,vec(28,28,28))
- ##DELINGS BOX
- K:egpBox(10,vec2(108,196),vec2(102,1))
- K:egpColor(10,vec(33,33,33))
- #Ins
- K:egpBox(11,vec2(108,288),vec2(102,62))
- K:egpColor(11,vec(25,25,25))
- ##DELINGS BOX
- K:egpBox(12,vec2(108,258),vec2(102,1))
- K:egpColor(12,vec(33,33,33))
- #Tjekv
- K:egpBox(13,vec2(108,350),vec2(102,61))
- K:egpColor(13,vec(25,25,25))
- ##DELINGS BOX
- K:egpBox(14,vec2(108,320),vec2(102,1))
- K:egpColor(14,vec(33,33,33))
- K:egpText(15,"Forside",vec2(108,164))
- K:egpAlign(15,1,1)
- K:egpFont(15,"Courier New")
- K:egpSize(15,16)
- K:egpText(16,"Statistikker",vec2(108,226))
- K:egpAlign(16,1,1)
- K:egpFont(16,"Courier New")
- K:egpSize(16,16)
- K:egpText(17,"Indstillinger",vec2(108,288))
- K:egpAlign(17,1,1)
- K:egpFont(17,"Courier New")
- K:egpSize(17,16)
- K:egpText(18,"Tjek - V"+aa()+"ben",vec2(108,350))
- K:egpAlign(18,1,1)
- K:egpFont(18,"Courier New")
- K:egpSize(18,16)
- }
- if(clk("statistikker1")){
- SS = 2
- K:egpBox(19,vec2(159,226),vec2(1,62))
- K:egpColor(19,vec(50,141,194))
- K:egpBox(20,vec2(308,256),vec2(295,248))
- K:egpColor(20,vec4(35,35,35,175))
- K:egpText(21,"S N O W L A N D",vec2(308,160))
- K:egpAlign(21,1,1)
- K:egpFont(21,"Courier New")
- K:egpSize(21,20)
- K:egpBox(22,vec2(308,172),vec2(174,1))
- K:egpText(23,"Statistikker",vec2(308,183))
- K:egpAlign(23,1,1)
- K:egpFont(23,"Courier New")
- K:egpSize(23,20)
- K:egpText(24,"Profit: "+Profit+",-",vec2(180,215))
- K:egpAlign(24,0,1)
- K:egpFont(24,"Courier New")
- K:egpSize(24,17)
- K:egpColor(24,vec(225,225,225))
- K:egpText(25,"Rabat: "+Rabat+" %",vec2(180,230))
- K:egpAlign(25,0,1)
- K:egpFont(25,"Courier New")
- K:egpSize(25,17)
- K:egpColor(25,vec(225,225,225))
- #----------------------------#
- K:egpText(26,"Oms"+ae()+"tning: "+Omsat+",-",vec2(180,255))
- K:egpAlign(26,0,1)
- K:egpFont(26,"Courier New")
- K:egpSize(26,17)
- K:egpColor(26,vec(225,225,225))
- K:egpText(27,"Indtjent: "+Tjent+",-",vec2(180,270))
- K:egpAlign(27,0,1)
- K:egpFont(27,"Courier New")
- K:egpSize(27,17)
- K:egpColor(27,vec(225,225,225))
- #----------------------------#
- K:egpText(28,"V"+aa()+"ben solgt: "+Count+" stk.",vec2(180,295))
- K:egpAlign(28,0,1)
- K:egpFont(28,"Courier New")
- K:egpSize(28,17)
- K:egpColor(28,vec(225,225,225))
- K:egpText(29,"Online v"+aa()+"ben: "+Onlinevaaben+" stk.",vec2(180,310))
- K:egpAlign(29,0,1)
- K:egpFont(29,"Courier New")
- K:egpSize(29,17)
- K:egpColor(29,vec(225,225,225))
- #----------------------------#
- K:egpText(30,"Seneste kunde: Ingen",vec2(180,335))
- K:egpAlign(30,0,1)
- K:egpFont(30,"Courier New")
- K:egpSize(30,17)
- K:egpColor(30,vec(225,225,225))
- if(Seneste != ""){
- K:egpSetText(30,"Seneste kunde: "+Seneste)
- }else{
- K:egpSetText(30,"Seneste kunde: Ingen")
- }
- K:egpText(31,""+aaL()+"bentid: "+OpeningTime+" min.",vec2(180,350))
- K:egpAlign(31,0,1)
- K:egpFont(31,"Courier New")
- K:egpSize(31,17)
- K:egpColor(31,vec(225,225,225))
- }
- if(clk("indstillinger")){
- SS = 3
- K:egpClear()
- K:egpBox(1,vec2(256,256),vec2(512,512))
- K:egpMaterial(1,"console/background06")
- K:egpBox(2,vec2(256,256),vec2(512,512))
- K:egpColor(2,vec4(25,25,25,235))
- K:egpBoxOutline(3,vec2(256,256),vec2(400,250))
- K:egpColor(3,vec(0,0,0))
- K:egpPoly(4,vec2(56,132),vec2(88,100),vec2(424,100),vec2(456,132))
- K:egpText(5,"- S N O W L A N D -",vec2(256,118))
- K:egpAlign(5,1,1)
- K:egpFont(5,"Courier New")
- K:egpColor(5,vec(0,0,0))
- K:egpSize(5,24)
- K:egpPoly(6,vec2(56,380),vec2(88,412),vec2(424,412),vec2(456,380))
- K:egpText(100,"- Kontrol panel -",vec2(256,397))
- K:egpAlign(100,1,1)
- K:egpFont(100,"Courier New")
- K:egpColor(100,vec(0,0,0))
- K:egpSize(100,24)
- K:egpBox(7,vec2(160,256),vec2(1,248))
- K:egpColor(7,vec(0,0,0))
- #Hjem
- K:egpBox(8,vec2(108,164),vec2(102,62))
- K:egpColor(8,vec(25,25,25))
- #Statistikker
- K:egpBox(9,vec2(108,226),vec2(102,62))
- K:egpColor(9,vec(25,25,25))
- ##DELINGS BOX
- K:egpBox(10,vec2(108,196),vec2(102,1))
- K:egpColor(10,vec(33,33,33))
- #Ins
- K:egpBox(11,vec2(108,288),vec2(102,62))
- K:egpColor(11,vec(28,28,28))
- ##DELINGS BOX
- K:egpBox(12,vec2(108,258),vec2(102,1))
- K:egpColor(12,vec(33,33,33))
- #Tjekv
- K:egpBox(13,vec2(108,350),vec2(102,61))
- K:egpColor(13,vec(25,25,25))
- ##DELINGS BOX
- K:egpBox(14,vec2(108,320),vec2(102,1))
- K:egpColor(14,vec(33,33,33))
- K:egpText(15,"Forside",vec2(108,164))
- K:egpAlign(15,1,1)
- K:egpFont(15,"Courier New")
- K:egpSize(15,16)
- K:egpText(16,"Statistikker",vec2(108,226))
- K:egpAlign(16,1,1)
- K:egpFont(16,"Courier New")
- K:egpSize(16,16)
- K:egpText(17,"Indstillinger",vec2(108,288))
- K:egpAlign(17,1,1)
- K:egpFont(17,"Courier New")
- K:egpSize(17,16)
- K:egpText(18,"Tjek - V"+aa()+"ben",vec2(108,350))
- K:egpAlign(18,1,1)
- K:egpFont(18,"Courier New")
- K:egpSize(18,16)
- K:egpBox(19,vec2(159,288),vec2(1,62))
- K:egpColor(19,vec(50,141,194))
- K:egpBox(20,vec2(308,256),vec2(295,248))
- K:egpColor(20,vec4(35,35,35,175))
- K:egpText(21,"S N O W L A N D",vec2(308,160))
- K:egpAlign(21,1,1)
- K:egpFont(21,"Courier New")
- K:egpSize(21,20)
- K:egpBox(22,vec2(308,172),vec2(174,1))
- K:egpText(23,"Indstillinger",vec2(308,183))
- K:egpAlign(23,1,1)
- K:egpFont(23,"Courier New")
- K:egpSize(23,20)
- #---Profit
- K:egpBox(24,vec2(308,230),vec2(200,28))
- K:egpColor(24,vec(30,30,30))
- }
- if(clk("indstillinger1")){
- SS = 3
- K:egpBox(25,vec2(198,230),vec2(20,28))
- K:egpColor(25,vec(40,40,40))
- K:egpBox(26,vec2(418,230),vec2(20,28))
- K:egpColor(26,vec(40,40,40))
- K:egpText(27,"Profit",vec2(308,208))
- K:egpAlign(27,1,1)
- K:egpFont(27,"Courier New")
- K:egpSize(27,16)
- K:egpText(28,"+",vec2(418,230))
- K:egpAlign(28,1,1)
- K:egpFont(28,"Courier New")
- K:egpSize(28,18)
- K:egpText(29,"-",vec2(198,230))
- K:egpAlign(29,1,1)
- K:egpFont(29,"Courier New")
- K:egpSize(29,16)
- K:egpText(30,Profit+",-",vec2(308,230))
- K:egpAlign(30,1,1)
- K:egpFont(30,"Courier New")
- K:egpSize(30,18)
- #---------------------------------------------------#
- K:egpBox(34,vec2(308,286),vec2(200,28))
- K:egpColor(34,vec(30,30,30))
- K:egpBox(35,vec2(198,286),vec2(20,28))
- K:egpColor(35,vec(40,40,40))
- K:egpBox(36,vec2(418,286),vec2(20,28))
- K:egpColor(36,vec(40,40,40))
- }
- if(clk("indstillinger2")){
- SS = 3
- K:egpText(37,"+",vec2(418,286))
- K:egpAlign(37,1,1)
- K:egpFont(37,"Courier New")
- K:egpSize(37,18)
- K:egpText(38,"-",vec2(198,286))
- K:egpAlign(38,1,1)
- K:egpFont(38,"Courier New")
- K:egpSize(38,16)
- K:egpText(39,Rabat+" %",vec2(308,286))
- K:egpAlign(39,1,1)
- K:egpFont(39,"Courier New")
- K:egpSize(39,18)
- K:egpText(43,"Rabat",vec2(308,264))
- K:egpAlign(43,1,1)
- K:egpFont(43,"Courier New")
- K:egpSize(43,16)
- K:egpBox(44,vec2(308,342),vec2(200,28))
- K:egpColor(44,vec(30,30,30))
- K:egpBox(46,vec2(198,342),vec2(20,28))
- K:egpColor(46,vec(40,40,40))
- K:egpBox(47,vec2(418,342),vec2(20,28))
- K:egpColor(47,vec(40,40,40))
- K:egpText(48,"+",vec2(418,342))
- K:egpAlign(48,1,1)
- K:egpFont(48,"Courier New")
- K:egpSize(48,18)
- K:egpText(49,"-",vec2(198,342))
- K:egpAlign(49,1,1)
- K:egpFont(49,"Courier New")
- K:egpSize(49,16)
- K:egpText(50,BlackPrice+",-",vec2(308,342))
- K:egpAlign(50,1,1)
- K:egpFont(50,"Courier New")
- K:egpSize(50,18)
- K:egpText(54,"Blacklist bonus",vec2(308,320))
- K:egpAlign(54,1,1)
- K:egpFont(54,"Courier New")
- K:egpSize(54,16)
- }
- if(clk("vt")){
- SS = 4
- K:egpClear()
- K:egpBox(1,vec2(256,256),vec2(512,512))
- K:egpMaterial(1,"console/background06")
- K:egpBox(2,vec2(256,256),vec2(512,512))
- K:egpColor(2,vec4(25,25,25,235))
- K:egpBoxOutline(3,vec2(256,256),vec2(400,250))
- K:egpColor(3,vec(0,0,0))
- K:egpPoly(4,vec2(56,132),vec2(88,100),vec2(424,100),vec2(456,132))
- K:egpText(5,"- S N O W L A N D -",vec2(256,118))
- K:egpAlign(5,1,1)
- K:egpFont(5,"Courier New")
- K:egpColor(5,vec(0,0,0))
- K:egpSize(5,24)
- K:egpPoly(6,vec2(56,380),vec2(88,412),vec2(424,412),vec2(456,380))
- K:egpText(100,"- Kontrol panel -",vec2(256,397))
- K:egpAlign(100,1,1)
- K:egpFont(100,"Courier New")
- K:egpColor(100,vec(0,0,0))
- K:egpSize(100,24)
- K:egpBox(7,vec2(160,256),vec2(1,248))
- K:egpColor(7,vec(0,0,0))
- #Hjem
- K:egpBox(8,vec2(108,164),vec2(102,62))
- K:egpColor(8,vec(25,25,25))
- #Statistikker
- K:egpBox(9,vec2(108,226),vec2(102,62))
- K:egpColor(9,vec(25,25,25))
- ##DELINGS BOX
- K:egpBox(10,vec2(108,196),vec2(102,1))
- K:egpColor(10,vec(33,33,33))
- #Ins
- K:egpBox(11,vec2(108,288),vec2(102,62))
- K:egpColor(11,vec(25,25,25))
- ##DELINGS BOX
- K:egpBox(12,vec2(108,258),vec2(102,1))
- K:egpColor(12,vec(33,33,33))
- #Tjekv
- K:egpBox(13,vec2(108,350),vec2(102,61))
- K:egpColor(13,vec(28,28,28))
- ##DELINGS BOX
- K:egpBox(14,vec2(108,320),vec2(102,1))
- K:egpColor(14,vec(33,33,33))
- K:egpText(15,"Forside",vec2(108,164))
- K:egpAlign(15,1,1)
- K:egpFont(15,"Courier New")
- K:egpSize(15,16)
- K:egpText(16,"Statistikker",vec2(108,226))
- K:egpAlign(16,1,1)
- K:egpFont(16,"Courier New")
- K:egpSize(16,16)
- K:egpText(17,"Indstillinger",vec2(108,288))
- K:egpAlign(17,1,1)
- K:egpFont(17,"Courier New")
- K:egpSize(17,16)
- K:egpText(18,"Tjek - V"+aa()+"ben",vec2(108,350))
- K:egpAlign(18,1,1)
- K:egpFont(18,"Courier New")
- K:egpSize(18,16)
- K:egpBox(19,vec2(159,350),vec2(1,62))
- K:egpColor(19,vec(50,141,194))
- K:egpBox(20,vec2(308,256),vec2(295,248))
- K:egpColor(20,vec4(35,35,35,175))
- K:egpText(21,"S N O W L A N D",vec2(308,160))
- K:egpAlign(21,1,1)
- K:egpFont(21,"Courier New")
- K:egpSize(21,20)
- K:egpBox(22,vec2(308,172),vec2(174,1))
- K:egpText(23,"Tjek - V"+aa()+"ben",vec2(308,183))
- K:egpAlign(23,1,1)
- K:egpFont(23,"Courier New")
- K:egpSize(23,20)
- }
- if(clk("vt1")){
- SS = 4
- #---Boxe
- K:egpBoxOutline(24,vec2(210,240),vec2(80,40))
- K:egpBoxOutline(25,vec2(308,240),vec2(80,40))
- K:egpBoxOutline(26,vec2(406,240),vec2(80,40))
- #---Raekke 2
- K:egpBoxOutline(27,vec2(210,290),vec2(80,40))
- K:egpBoxOutline(28,vec2(308,290),vec2(80,40))
- K:egpBoxOutline(29,vec2(406,290),vec2(80,40))
- #---Raekke 3
- K:egpBoxOutline(30,vec2(210,340),vec2(80,40))
- K:egpBoxOutline(31,vec2(308,340),vec2(80,40))
- K:egpBoxOutline(32,vec2(406,340),vec2(80,40))
- }
- if(clk("vt2")){
- SS = 4
- #---Text 1
- K:egpText(34,R1:wepName(),vec2(210,234))
- K:egpText(35,""+R1:shipmentAmount(),vec2(210,246))
- #---Text 2
- K:egpText(36,R2:wepName(),vec2(308,234))
- K:egpText(37,""+R2:shipmentAmount(),vec2(308,246))
- #---Text 3
- K:egpText(38,R3:wepName(),vec2(406,234))
- K:egpText(39,""+R3:shipmentAmount(),vec2(406,246))
- #---Text 4
- K:egpText(40,R4:wepName(),vec2(210,284))
- K:egpText(41,""+R4:shipmentAmount(),vec2(210,296))
- #---Text 5
- K:egpText(42,R5:wepName(),vec2(308,284))
- K:egpText(43,""+R5:shipmentAmount(),vec2(308,296))
- #---Text 6
- K:egpText(44,R6:wepName(),vec2(406,284))
- K:egpText(45,""+R6:shipmentAmount(),vec2(406,296))
- #---Text 7
- K:egpText(46,R7:wepName(),vec2(210,334))
- K:egpText(47,""+R7:shipmentAmount(),vec2(210,346))
- #---Text 8
- K:egpText(48,R8:wepName(),vec2(308,334))
- K:egpText(49,""+R8:shipmentAmount(),vec2(308,346))
- #---Text 9
- K:egpText(50,R9:wepName(),vec2(406,334))
- K:egpText(51,""+R9:shipmentAmount(),vec2(406,346))
- for(I=1,18){K:egpAlign(33+I,1,1) K:egpFont(33+I,"Courier New") K:egpSize(33+I,14)}
- }
- if(clk("beting")){
- S = 100
- EGP:egpClear()
- EGP:egpBox(1,vec2(256,256),vec2(512,512))
- EGP:egpColor(1,vec(40,40,40))
- EGP:egpText(2,"Velkommen til",vec2(256,200))
- EGP:egpAlign(2,1,1)
- EGP:egpSize(2,46)
- EGP:egpText(3,"Snowland",vec2(256,236))
- EGP:egpAlign(3,1,1)
- EGP:egpSize(3,46)
- EGP:egpText(4,"L"+ae()+"s venligst chatten for at komme igang... ",vec2(256,300))
- EGP:egpAlign(4,1,1)
- EGP:egpSize(4,14)
- }
- if(clk("acp")){
- S = 67
- EGP:egpText(4,"Starter op",vec2(256,300))
- EGP:egpAlign(4,1,1)
- EGP:egpSize(4,14)
- timer("starter1",500)
- timer("starter2",2000)
- timer("starter3",3500)
- timer("starter4",5000)
- timer("starter5",6000)
- timer("webs",8000)
- }
- if(clk("starter1")){
- EGP:egpSetText(4,"Starter op - 25%")
- }
- if(clk("starter2")){
- EGP:egpSetText(4,"Starter op - 50%")
- }
- if(clk("starter3")){
- EGP:egpSetText(4,"Starter op - 75%")
- }
- if(clk("starter4")){
- EGP:egpSetText(4,"Starter op - 100%")
- }
- if(clk("starter5")){
- EGP:egpSetText(4,"Snowland er nu startet op!")
- }
- #---------------------------------------------------------------------------------#
- if(clk("kbeting")){
- SS = 100
- K:egpClear()
- K:egpBox(1,vec2(256,256),vec2(512,512))
- K:egpColor(1,vec(40,40,40))
- K:egpText(2,"Velkommen til",vec2(256,200))
- K:egpAlign(2,1,1)
- K:egpSize(2,46)
- K:egpText(3,"Snowland",vec2(256,236))
- K:egpAlign(3,1,1)
- K:egpSize(3,46)
- K:egpText(4,"L"+ae()+"s venligst chatten for at komme igang... ",vec2(256,300))
- K:egpAlign(4,1,1)
- K:egpSize(4,14)
- }
- if(clk("kacp")){
- SS = 67
- K:egpText(4,"Starter op",vec2(256,300))
- K:egpAlign(4,1,1)
- K:egpSize(4,14)
- timer("starter11",500)
- timer("starter21",2000)
- timer("starter31",3500)
- timer("starter41",5000)
- timer("starter51",6000)
- timer("kontrolp",10000)
- }
- if(clk("starter11")){
- K:egpSetText(4,"Starter op - 25%")
- }
- if(clk("starter21")){
- K:egpSetText(4,"Starter op - 50%")
- }
- if(clk("starter31")){
- K:egpSetText(4,"Starter op - 75%")
- }
- if(clk("starter41")){
- K:egpSetText(4,"Starter op - 100%")
- }
- if(clk("starter51")){
- K:egpSetText(4,"Snowland er nu startet op!")
- }
- #--------------------------------------------------------------------------------------------------------------------------------------------------------#
- #--- Ordrer design ---#
- if(clk("Gennemfoere")){
- S = 2
- EGP:egpBox(74,vec2(256,256),vec2(512,46))
- EGP:egpColor(74,vec4(25,25,25,225))
- EGP:egpText(76,"Gennemf"+oe()+"rer odrer",vec2(256,256))
- EGP:egpAlign(76,1,1)
- EGP:egpFont(76,"Courier New")
- EGP:egpSize(76,24)
- timer("set1",600)
- timer("set2",1200)
- timer("set3",1800)
- timer("set4",2500)
- }
- if(clk("set1")){
- EGP:egpSetText(76,"Gennemf"+oe()+"rer odrer.")
- }
- if(clk("set2")){
- EGP:egpSetText(76,"Gennemf"+oe()+"rer odrer..")
- }
- if(clk("set3")){
- EGP:egpSetText(76,"Gennemf"+oe()+"rer odrer...")
- }
- if(clk("set4")){
- EGP:egpSetText(76,"Din odrer blev gennemf"+oe()+"rt!")
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," "+moneyClkPlayer():name()+" har bestilt v"+aa()+"ben for ",vec(45,182,75),""+Pris+"",vec(200,200,200),",-")
- concmd("say /pm "+CurUser:steamID()+" Tak for dit k"+oe()+"b hos Snowland. Du har bestilt for "+Pris+",- P"+aa()+" gensyn "+CurUser:name())
- }
- #--------------------------------------------------------------------------------------------------------------------------------------------------------#
- #--- Login & ud system ---#
- ##----Gaa til butik
- if(S == 1 & ops()<100){
- if(~User & User){
- if(shipmentInStock()){
- if(EGP:egpButton(14,User)){CurUser = User Door = 1 timer("FinalName", 100)
- Name="-"
- Password="-"
- Lname = CurUser:name():explode("")
- Lpassword="*******":explode("")
- S = 21
- if(!Players:exists(User:steamID())){
- Players[User:steamID(),table] = table()
- Players[User:steamID(),table]["Blacklist",number] = 0}
- if(Players[User:steamID(),table]["Blacklist",number] == 1){BlacklistPrice = BlackPrice}else{BlacklistPrice = 0}
- }
- }
- else
- {
- S = 27
- EGP:egpText(328,"Vi har ingen v"+aa()+"ben p"+aa()+" lager!",vec2(256,294))
- EGP:egpAlign(328,1,1)
- EGP:egpFont(328,"Courier New")
- EGP:egpSize(328,16)
- timer("webs",1500)
- }
- }
- }
- if(clk("FinalName")&S==21){
- if(Name:length()<=Lname:count()){
- Name=Name+Lname[Name:length(),string]
- EGP:egpSetText(16,Name:sub(2))
- timer("FinalName", 100)
- }
- else{timer("FinalPass",300)}
- }
- if(clk("FinalPass")){
- if(Password:length()<=Lpassword:count()){
- Password=Password+Lpassword[Password:length(),string]
- EGP:egpSetText(17,Password:sub(2))
- timer("FinalPass", 200)
- }
- else{timer("shop",500) timer("bshop",1000) timer("bshop1",1500) timer("tshop",2000) timer("tshop1",2500) timer("sidetext",3000) timer("CurUserDistance",4000)}
- }
- #---Log ud
- if(S == 2 & CurUser == User & ops()<100){
- if(~User & User){
- if(EGP:egpButton(68,User)){timer("webs",500) stoptimer("CurUserDistance")}
- }
- }
- #--------------------------------------------------------------------------------------------------------------------------------------------------------#
- #--- Gun system ---#
- if(S == 2 & CurUser == User & ops()<125 & Klar == 0){
- Klar = 1
- timer("klar",400)
- #--- Betalings knap
- if(EGP:egpButton(69,User)&Pris>0){moneyRequest(CurUser,Pris,"Snowland")}
- if(EGP:egpButton(70,User)&Pris>0){moneyRequest(CurUser,Pris,"Snowland")}
- ##---1
- elseif(EGP:egpButton(24,User)&R1:isShipment()){
- if(C1 == 0){
- Pris = Pris+R1:wepPrice() C1 = 1 EGP:egpBox(77,vec2(80,212),vec2(90,2)) EGP:egpColor(77,vec(50,141,194))
- }else{Pris = Pris-R1:wepPrice() C1 = 0 EGP:egpRemove(77)}
- EGP:egpSetText(73,Pris+",-")
- }
- #---2
- elseif(EGP:egpButton(25,User)&R2:isShipment()){
- if(C2 == 0){
- Pris = Pris+R2:wepPrice() C2 = 1 EGP:egpBox(78,vec2(184,212),vec2(90,2)) EGP:egpColor(78,vec(50,141,194))
- }else{Pris = Pris-R2:wepPrice() C2 = 0 EGP:egpRemove(78)}
- EGP:egpSetText(73,Pris+",-")}
- #---3
- elseif(EGP:egpButton(26,User)&R3:isShipment()){
- if(C3 == 0){
- Pris = Pris+R3:wepPrice() C3 = 1 EGP:egpBox(79,vec2(288,212),vec2(90,2)) EGP:egpColor(79,vec(50,141,194))
- }else{Pris = Pris-R3:wepPrice() C3 = 0 EGP:egpRemove(79)}
- EGP:egpSetText(73,Pris+",-")}
- #---4
- elseif(EGP:egpButton(27,User)&R4:isShipment()){
- if(C4 == 0){
- Pris = Pris+R4:wepPrice() C4 = 1 EGP:egpBox(80,vec2(80,304),vec2(90,2)) EGP:egpColor(80,vec(50,141,194))
- }else{Pris = Pris-R4:wepPrice() C4 = 0 EGP:egpRemove(80) }
- EGP:egpSetText(73,Pris+",-")}
- #---5
- elseif(EGP:egpButton(28,User)&R5:isShipment()){
- if(C5 == 0){
- Pris = Pris+R5:wepPrice() C5 = 1 EGP:egpBox(81,vec2(184,304),vec2(90,2)) EGP:egpColor(81,vec(50,141,194))
- }else{Pris = Pris-R5:wepPrice() C5 = 0 EGP:egpRemove(81) }
- EGP:egpSetText(73,Pris+",-")}
- #---6
- elseif(EGP:egpButton(29,User)&R6:isShipment()){
- if(C6 == 0){
- Pris = Pris+R6:wepPrice() C6 = 1 EGP:egpBox(82,vec2(288,304),vec2(90,2)) EGP:egpColor(82,vec(50,141,194))
- }else{Pris = Pris-R6:wepPrice() C6 = 0 EGP:egpRemove(82) }
- EGP:egpSetText(73,Pris+",-")}
- #---7
- elseif(EGP:egpButton(30,User)&R7:isShipment()){
- if(C7 == 0){
- Pris = Pris+R7:wepPrice() C7 = 1 EGP:egpBox(83,vec2(80,398),vec2(90,2)) EGP:egpColor(83,vec(50,141,194))
- }else{Pris = Pris-R7:wepPrice() C7 = 0 EGP:egpRemove(83) }
- EGP:egpSetText(73,Pris+",-")}
- #---8
- elseif(EGP:egpButton(31,User)&R8:isShipment()){
- if(C8 == 0){
- Pris = Pris+R8:wepPrice() C8 = 1 EGP:egpBox(84,vec2(184,398),vec2(90,2)) EGP:egpColor(84,vec(50,141,194))
- }else{Pris = Pris-R8:wepPrice() C8 = 0 EGP:egpRemove(84) }
- EGP:egpSetText(73,Pris+",-")}
- #---9
- elseif(EGP:egpButton(32,User)&R9:isShipment()){
- if(C9 == 0){
- Pris = Pris+R9:wepPrice() C9 = 1 EGP:egpBox(85,vec2(288,398),vec2(90,2)) EGP:egpColor(85,vec(50,141,194))
- }else{Pris = Pris-R9:wepPrice() C9 = 0 EGP:egpRemove(85) }
- EGP:egpSetText(73,Pris+",-")}
- }
- if(clk("klar")){
- Klar = 0
- }
- #--------------------------------------------------------------------------------------------------------------------------------------------------------#
- #--- Mc System ---#
- if(moneyClk("Snowland")){
- timer("Gennemfoere",250)
- timer("webs",5000)
- timer("giveweps",2700)
- timer("pms",2700)
- timer("R",1000)
- timer("updatekontrolpanel",7500)
- stoptimer("CurUserDistance")
- CurUser = noentity()
- Seneste = moneyClkPlayer():name()
- if(SS == 2){timer("statistikker",3000)}
- if(SS == 4){timer("vt",12500) timer("vt1",13000) timer("vt2",14500)}
- }
- #---Spawn weapons
- if(clk("giveweps")){
- if(C1==1){U1 = 1 Count++ Tjent+=Profit Omsat+=R1:wepPrice()}
- if(C2==1){U2 = 1 Count++ Tjent+=Profit Omsat+=R2:wepPrice()}
- if(C3==1){U3 = 1 Count++ Tjent+=Profit Omsat+=R3:wepPrice()}
- if(C4==1){U4 = 1 Count++ Tjent+=Profit Omsat+=R4:wepPrice()}
- if(C5==1){U5 = 1 Count++ Tjent+=Profit Omsat+=R5:wepPrice()}
- if(C6==1){U6 = 1 Count++ Tjent+=Profit Omsat+=R6:wepPrice()}
- if(C7==1){U7 = 1 Count++ Tjent+=Profit Omsat+=R7:wepPrice()}
- if(C8==1){U8 = 1 Count++ Tjent+=Profit Omsat+=R8:wepPrice()}
- if(C9==1){U9 = 1 Count++ Tjent+=Profit Omsat+=R9:wepPrice()}
- }
- if(clk("R")){
- U1 = 0 U2 = 0 U3 = 0 U4 = 0 U5 = 0 U6 = 0 U7 = 0 U8 = 0 U9 = 0
- }
- if(moneyNoClk()){
- timer("webs",250)
- }
- if(clk("pms")){
- concmd("say /pm "+CurUser:steamID()+" Din odrer blev accepteret! Tak for dit k"+oe()+"b hos Snowland. P"+aa()+" gensyn")
- }
- #--------------------------------------------------------------------------------------------------------------------------------------------------------#
- #--- Log ud auto // For langt vaek ---#
- if(clk("CurUserDistance")){
- if(S>1 & ops()<100){
- if(CurUser:pos():distance(EGP:entity():pos())>125){timer("webs",250) CurUser = noentity()
- }
- }
- timer("CurUserDistance",3000)
- }
- #--------------------------------------------------------------------------------------------------------------------------------------------------------#
- #--- Kontrol panel ---#
- if(~KU & KU:keyUse() & KU == owner() & ops()<150 & RR == 0){
- RR = 1
- timer("rr",5000)
- if(SS>0){
- if(K:egpButton(9,KU)){timer("statistikker",250) timer("statistikker1",500)}
- if(K:egpButton(11,KU)){timer("indstillinger",250) timer("indstillinger1",700) timer("indstillinger2",2100)}
- if(K:egpButton(13,KU)){timer("vt",250) timer("vt1",750) timer("vt2",1250)}
- }
- if(SS == 3 & ops()<100){
- if(K:egpButton(25,KU)){Profit-=250 K:egpSetText(30,""+Profit+",-")}
- if(K:egpButton(26,KU)){Profit+=250 K:egpSetText(30,""+Profit+",-")}
- if(K:egpButton(35,KU)){Rabat-=5 K:egpSetText(39,""+Rabat+" %")}
- if(K:egpButton(36,KU)){Rabat+=5 K:egpSetText(39,""+Rabat+" %")}
- if(K:egpButton(46,KU)){BlackPrice-=1000 K:egpSetText(50,""+BlackPrice+",-")}
- if(K:egpButton(47,KU)){BlackPrice+=1000 K:egpSetText(50,""+BlackPrice+",-")}
- }
- }
- if(SS>1){
- if(K:egpButton(8,KU)){timer("kontrolp",250)}
- }
- if(clk("updatekontrolpanel") & SS == 2){
- K:egpSetText(26,"Oms"+ae()+"tning: "+Omsat+",-")
- K:egpSetText(27,"Indtjent: "+Tjent+",-")
- K:egpSetText(28,"V"+aa()+"ben solgt: "+Count+" stk.")
- K:egpSetText(30,"Seneste kunde: Ingen")
- }
- if(clk("rr")){
- RR = 0
- }
- if(clk("updateTime")){
- OpeningTime++
- timer("updateTime",60000)
- if(SS == 2){K:egpSetText(31,""+aaL()+"bentid: "+OpeningTime+" min.")}
- }
- Onlinevaaben = R1:shipmentAmount() + R2:shipmentAmount() + R3:shipmentAmount() + R4:shipmentAmount() + R5:shipmentAmount() + R6:shipmentAmount() + R7:shipmentAmount() + R8:shipmentAmount() + R9:shipmentAmount()
- #--------------------------------------------------------------------------------------------------------------------------------------------------------#
- #--- Chat commands ---#
- if(S<30){
- #---Profit
- if(chatClk(owner()))
- {
- Said = owner():lastSaid():lower():explode(" ")
- Cmd = lastSaid():explode(" "):string(1)
- switch(Cmd)
- {
- case"!profit",
- if(lastSpoke() == owner()){
- Profit = Said[2, string]:toNumber()
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," Profit sat til: ",vec(45,182,75),+Said[2,string]:toNumber(),vec(200,200,200),",-")
- if(SS == 1){timer("kontrolp",250)}
- if(SS == 2){timer("statistikker",250) timer("statistikker1",500)}
- if(SS == 3){timer("indstillinger",250) timer("indstillinger1",500) timer("indstillinger2",1200)}
- hideChat(1)
- }
- }
- }
- if(chatClk(owner()))
- {
- Said = owner():lastSaid():lower():explode(" ")
- Cmd = lastSaid():explode(" "):string(1)
- switch(Cmd)
- {
- case"!rabat",
- if(lastSpoke() == owner()){
- Rabat = Said[2, string]:toNumber()
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," Rabat sat til: ",vec(45,182,75),+Said[2,string]:toNumber(),vec(200,200,200)," %")
- if(SS == 2){timer("statistikker",250) timer("statistikker1",500)}
- if(SS == 3){timer("indstillinger",250) timer("indstillinger1",500) timer("indstillinger2",1200)}
- hideChat(1)
- }
- }
- }
- #---Force logout
- if(chatClk(owner()))
- {
- Said = owner():lastSaid():lower():explode(" ")
- Cmd = lastSaid():explode(" "):string(1)
- switch(Cmd)
- {
- case "!forcelogout",
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," Logger ud af Snowland...")
- timer("webs",500)
- hideChat(1)
- ,break
- }
- }
- #---Luk shoppen
- if(chatClk(owner()))
- {
- Said = owner():lastSaid():lower():explode(" ")
- Cmd = lastSaid():explode(" "):string(1)
- switch(Cmd)
- {
- case "!luk",
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," Du har nu lukket Snowland...")
- timer("luk",500)
- hideChat(1)
- ,break
- }
- }
- #---Opfyldning
- if(chatClk(owner()))
- {
- Said = owner():lastSaid():lower():explode(" ")
- Cmd = lastSaid():explode(" "):string(1)
- switch(Cmd)
- {
- case "!opfyldning",
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," Du har nu tid til at opfylde Snowland...")
- timer("opfyl",500)
- hideChat(1)
- ,break
- }
- }
- #---Aaben
- if(chatClk(owner()))
- {
- Said = owner():lastSaid():lower():explode(" ")
- Cmd = lastSaid():explode(" "):string(1)
- switch(Cmd)
- {
- case "!"+aa()+"ben",
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," Snowland er nu "+aa()+"bnet igen...")
- timer("webs",500)
- hideChat(1)
- ,break
- }
- }
- #---commands
- if(chatClk(owner()))
- {
- Said = owner():lastSaid():lower():explode(" ")
- Cmd = lastSaid():explode(" "):string(1)
- switch(Cmd)
- {
- case "!commands",
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," !profit <antal> | S"+ae()+"tter profitten til det valgte")
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," !rabat <antal> | S"+ae()+"tter rabbaten til det valgte")
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," !forcelogout | Logger ud af Snowland | Gunshop")
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," !luk | Lukker butikken")
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," !opfyldning | Viser kunder at du er igang med opfyldning")
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," !"+aa()+"ben | "+aaL()+"bner Gunshoppen")
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," !blacklist <person> | Blacklister den valgte person")
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," !unblacklist | Fjerner den valgte person fra blacklist")
- hideChat(1)
- ,break
- }
- }
- if(chatClk(owner()))
- {
- A = owner():lastSaid():lower():explode(" ")
- if(A[1,string]=="!blacklist"){
- hideChat(1)
- Ply = findPlayerByName(A[2,string]) ?: findPlayerBySteamID(A[2,string])
- if(Players:exists(Ply:steamID())){
- if(Players[Ply:steamID(),table]["Blacklist",number] == 0){
- Players[Ply:steamID(),table]["Blacklist",number] = 1
- }else{printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," Den valgte spiller er allerede blacklistet")}
- }else{
- Players[User:steamID(),table] = table()
- Players[User:steamID(),table]["Blacklist",number] = 1
- }
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," Du har nu blacklistet den valgte spiller")
- }elseif(A[1,string]=="!unblacklist"){
- hideChat(1)
- Ply = findPlayerByName(A[2,string]) ?: findPlayerBySteamID(A[2,string])
- if(Players:exists(Ply:steamID())){
- if(Players[Ply:steamID(),table]["Blacklist",number] == 1){
- Players[Ply:steamID(),table]["Blacklist",number] = 0
- }else{printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," Du har nu fjernet spilleren fra blacklist")}
- }else{
- Players[User:steamID(),table] = table()
- Players[User:steamID(),table]["Blacklist",number] = 0
- }
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," Spilleren har f"+aa()+"et fjernet blacklist")
- }
- }
- }
- #---Acp
- if(chatClk(owner()))
- {
- Said = owner():lastSaid():lower():explode(" ")
- Cmd = lastSaid():explode(" "):string(1)
- switch(Cmd)
- {
- case "!accepter",
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," Starter Snowland Gunshop op...")
- timer("acp",500)
- timer("kacp",500)
- printColor(vec(225,225,225),"[ ",vec(50,141,194),"Snowland | Gunshop",vec(225,225,225)," ]",vec(200,200,200)," Brug !commands for at se commands!")
- hideChat(1)
- ,break
- }
- }
- if(clk("luk")){
- SSS = 15
- EGP:egpClear()
- EGP:egpBox(1,vec2(256,256),vec2(512,512))
- EGP:egpMaterial(1,"console/background06")
- EGP:egpBox(2,vec2(256,256),vec2(512,512))
- EGP:egpColor(2,vec4(25,25,25,235))
- EGP:egpBoxOutline(3,vec2(256,125),vec2(514,65))
- EGP:egpColor(3,vec(35,35,35))
- EGP:egpMaterial(3,"gui/center_gradient")
- EGP:egpBox(4,vec2(256,125),vec2(514,65))
- EGP:egpColor(4,vec4(225,225,225,12))
- EGP:egpMaterial(4,"gui/center_gradient")
- EGP:egpText(5,"S N O W L A N D",vec2(256,125))
- EGP:egpAlign(5,1,1)
- EGP:egpFont(5,"Courier New")
- EGP:egpSize(5,36)
- EGP:egpBox(6,vec2(256,375),vec2(512,50))
- EGP:egpColor(6,vec4(155,62,62,100))
- EGP:egpText(7,"Snowland har lukket p"+aa()+" nuv"+ae()+"rende tidspunkt!",vec2(256,375))
- EGP:egpAlign(7,1,1)
- EGP:egpFont(7,"Courier New")
- EGP:egpSize(7,20)
- }
- if(clk("opfyl")){
- SSS = 16
- EGP:egpClear()
- EGP:egpBox(1,vec2(256,256),vec2(512,512))
- EGP:egpMaterial(1,"console/background06")
- EGP:egpBox(2,vec2(256,256),vec2(512,512))
- EGP:egpColor(2,vec4(25,25,25,235))
- EGP:egpBoxOutline(3,vec2(256,125),vec2(514,65))
- EGP:egpColor(3,vec(35,35,35))
- EGP:egpMaterial(3,"gui/center_gradient")
- EGP:egpBox(4,vec2(256,125),vec2(514,65))
- EGP:egpColor(4,vec4(225,225,225,12))
- EGP:egpMaterial(4,"gui/center_gradient")
- EGP:egpText(5,"S N O W L A N D",vec2(256,125))
- EGP:egpAlign(5,1,1)
- EGP:egpFont(5,"Courier New")
- EGP:egpSize(5,36)
- EGP:egpBox(6,vec2(256,375),vec2(512,50))
- EGP:egpColor(6,vec4(201,128,19,100))
- EGP:egpText(7,"Snowland er igang med at fylde vare p"+aa()+"!",vec2(256,375))
- EGP:egpAlign(7,1,1)
- EGP:egpFont(7,"Courier New")
- EGP:egpSize(7,20)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement