Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @name X I T E X
- @inputs [Ctrl, EGP]:wirelink User:entity [R1, R2, R3, R4, R5, R6]:entity
- @outputs
- @persist [CurUser]:entity
- @persist [FinalName, FinalPas]:array
- @persist [Name, Pas]:string
- @persist [Cust, Omsat, Sold, Earned, Profit, Price, S, Blckl, Las]:number
- @persist [Settings, Blacklist, W]:table CI CY
- @trigger
- if(duped() | dupefinished()){reset()}
- OPS = ops()
- CPU=cpuUsage()*1000000
- CLKNAME = clkName()
- if(first())
- {
- runOnChat(1)
- Settings["Blacklist.Price",number] = 20000
- Settings["Hired.Discount", number] = 15
- Settings["Gang.Discount", number] = 10
- Blacklist["Player", table] = table()
- Blacklist["Gang", table] = table(
- "Big Brains" = 1
- )
- 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 entity tx_FindPly(Str:string){
- return Str:sub(0,7) == "STEAM_0" ? findPlayerBySteamID(Str) : findPlayerByName(Str)
- }
- function string moneyFormat(M:number){ #Don't blame me for shit.
- local Q = M < 1000000 # No need to do math?
- local P = Q ? "^(-?%d+)(%d%d%d)" : "^(-?%d+)(%d%d%d)(%d%d%d)"
- local N = Q ? "%1,%2" : "%1,%2,%3"
- return M:toString():replaceRE(P, N) #Regular Expressions // Yaay
- }
- function number entity:getWepPrice(){
- if(!This:isShipment()){
- return 0
- }
- local Price=This:shipmentPrice()
- return Price+(Blckl*Settings["Blacklist.Price", number])+Profit
- }
- function string entity:getWepName(){
- if(!This:isShipment()){
- return ""
- }
- return This:shipmentName():replace(" Shotgun", ""):sub(0, 8)
- }
- function message(S:string){printColor(vec(255),"[ ",vec(34,96,180),"X I T E X",vec(255)," ] ",S)}
- function number shipmentInStock()
- {
- return (R1:isShipment() | R2:isShipment() | R3:isShipment() | R4:isShipment() | R5:isShipment() | R6:isShipment())
- }
- function void wirelink:drawLogin()
- {
- W:clear()
- Price = 0
- CurUser=noentity()
- S=1
- This:egpClear()
- This:egpBox(1, vec2(256,256), vec2(512,512)) This:egpColor(1,vec(112,155,139)) This:egpMaterial(1,"vgui/appchooser/background_hl2")
- This:egpBox(100, vec2(256,390), vec2(240,50)) This:egpColor(100, vec(10,10,10))
- This:egpBox(2, vec2(256,256), vec2(512,512)) This:egpColor(2, vec4(30,30,300, 240)) #30,30,30
- This:egpBox(3, vec2(256,256), vec2(512,512)) This:egpMaterial(3, "gui/gradient_down") This:egpColor(3, vec4(58,100,61,70))
- This:egpBox(4, vec2(256,256), vec2(512,512)) This:egpMaterial(4, "gui/gradient_up") This:egpColor(4, vec4(77,191,172,70)) #255, 153, 102
- This:egpBox(5, vec2(56,256), vec2(50,200)) This:egpColor(5, vec(51,51,51))
- This:egpBoxOutline(6, vec2(256,256), vec2(512,512)) This:egpSize(6,5)
- This:egpBox(7, vec2(186,181), vec2(200,50)) This:egpColor(7, vec4(77,191,172,100))
- This:egpText(8, "X I T E X", vec2(56,256)) This:egpAlign(8,1,1) This:egpFont(8,"Courier New",30) This:egpAngle(8,-90)
- This:egpText(9,"NM", vec2(109,181)) This:egpAlign(9,1,1) This:egpFont(9,"Courier New",25)
- This:egpBox(11, vec2(136,181), vec2(2,25))
- This:egpBox(12, vec2(186,236), vec2(200,50)) This:egpColor(12, vec4(77,191,172,100))
- This:egpText(13,"PW", vec2(109,236)) This:egpAlign(13,1,1) This:egpFont(13,"Courier New",25)
- This:egpBox(14, vec2(136,236), vec2(2,25))
- This:egpBox(15, vec2(186,291), vec2(200,50)) This:egpColor(15, vec4(51,51,51,250))
- This:egpText(16,"LOGIN", vec2(126,292)) This:egpAlign(16,1,1) This:egpFont(16,"Courier New",25)
- This:egpBox(17, vec2(186,338), vec2(200,36)) This:egpColor(17, vec4(51,51,51,250))
- This:egpText(18, "CREDITS", vec2(138,340)) This:egpAlign(18,1,1) This:egpFont(18,"Courier New",25)
- X=145
- This:egpPoly(19, vec2(287+X,304), vec2(310+X,304), vec2(277+X,252), vec2(266+X,270))
- This:egpColor(19, vec(114,117,117))
- This:egpPoly(20, vec2(323+X,304), vec2(347+X,304), vec2(295+X,221), vec2(284+X,240))
- This:egpColor(20, vec(114,117,117))
- This:egpPoly(21, vec2(207+X,304), vec2(224+X,274), vec2(231+X,274), vec2(214+X,304))
- This:egpColor(21, vec(189,191,193))
- This:egpPoly(22, vec2(231+X,274), vec2(173+X,180), vec2(165+X,180), vec2(224+X,274))
- This:egpColor(22, vec(189,191,193))
- This:egpPoly(23, vec2(214+X,304), vec2(237+X,304), vec2(308+X,180), vec2(284+X,180))
- This:egpColor(23, vec(77,191,172))
- This:egpPoly(24, vec2(231+X,274), vec2(173+X,180), vec2(196+X,180), vec2(243+X,253))
- This:egpColor(24, vec(77,191,172))
- This:egpPoly(25, vec2(243+X,253), vec2(239+X,247), vec2(242+X,242), vec2(249+X,242))
- This:egpColor(25, vec(189,191,193))
- This:egpPoly(26, vec2(249+X,242), vec2(210+X,180), vec2(204+X,180), vec2(242+X,242))
- This:egpColor(26, vec(189,191,193))
- This:egpPoly(27, vec2(210+X,180), vec2(234+X,180), vec2(261+X,223), vec2(249+X,242))
- This:egpColor(27, vec(77,191,172))
- This:egpPoly(28, vec2(285+X,180), vec2(277+X,180), vec2(257+X,217), vec2(261+X,223))
- This:egpColor(28, vec(189,191,193))
- }
- function void wirelink:drawBuyGunz()
- {
- Las= 0
- S=2
- This:egpClear()
- This:egpBox(1, vec2(256,256), vec2(512,512)) This:egpColor(1,vec(112,155,139)) This:egpMaterial(1,"vgui/appchooser/background_hl2")
- This:egpBox(100, vec2(256,390), vec2(240,50)) This:egpColor(100, vec(10,10,10))
- This:egpBox(2, vec2(256,256), vec2(512,512)) This:egpColor(2, vec4(30,30,300, 240)) #30,30,30
- This:egpBox(3, vec2(256,256), vec2(512,512)) This:egpMaterial(3, "gui/gradient_down") This:egpColor(3, vec4(58,100,61,70))
- This:egpBox(4, vec2(256,256), vec2(512,512)) This:egpMaterial(4, "gui/gradient_up") This:egpColor(4, vec4(77,191,172,70)) #255, 153, 102
- This:egpBoxOutline(5, vec2(256,256), vec2(512,512)) This:egpSize(5,5)
- #Kobs Boxse
- This:egpBox(6, vec2(256,256), vec2(250,490)) This:egpColor(6, vec(51,51,51))
- This:egpBox(7, vec2(256,56), vec2(250,40)) This:egpColor(7, vec4(77,191,172,70))
- for(I=1,6)
- {
- local Name = W[I,array][1,string] ? W[I,array][1,string] : "Udsolgt"
- local Price = W[I,array][2,number] ? W[I,array][2,number] : 0
- This:egpBox(I+8, vec2(256,96+(I*60)), vec2(200,45))
- This:egpColor(I+8, vec4(77,191,172,30))
- This:egpBoxOutline(I+15, vec2(256,96+(I*60)), vec2(200,45))
- This:egpText(I+31, Name+" - "+Price+",-", vec2(256,96+(I*60)))
- This:egpAlign(I+31, 1,1)
- This:egpFont(I+31, "Courier New",25)
- }
- This:egpBox(23, vec2(76,306), vec2(90,345)) This:egpColor(23, vec(51,51,51))
- This:egpBox(24, vec2(76,156), vec2(90,25)) This:egpColor(24, vec4(77,191,172,30))
- This:egpText(25,"X I T E X", vec2(256,56)) This:egpAlign(25,1,1) This:egpFont(25,"Courier New",35)
- This:egpText(26,"K U R V", vec2(76,156)) This:egpAlign(26,1,1) This:egpFont(26,"Courier New",20)
- This:egpBox(27, vec2(76,456), vec2(90,45)) This:egpColor(27, vec4(77,191,172,30))
- This:egpText(28, "BETAL", vec2(76,446)) This:egpAlign(28,1,1) This:egpFont(28,"Courier New",15)
- This:egpText(29, "0", vec2(76,466)) This:egpAlign(29,1,1) This:egpFont(29,"Courier New",20)
- }
- function wirelink:drawVelkommen()
- {
- S=-1
- Name="-"
- This:egpText(50, Name, vec2(143,181))
- This:egpAlign(50, 0,1)
- This:egpFont(50, "Courier New",19)
- Pas="-"
- This:egpText(51, Pas, vec2(143,236))
- This:egpAlign(51, 0,1)
- This:egpFont(51, "Courier New",19)
- timer("name",100)
- }
- EGP:drawLogin()
- ##KONTROL PANEL##
- function void wirelink:drawCtrl()
- {
- This:egpClear()
- This:egpBox(1, vec2(256,256), vec2(512,512)) This:egpColor(1,vec(112,155,139)) This:egpMaterial(1,"vgui/appchooser/background_hl2")
- This:egpBox(100, vec2(256,390), vec2(240,50)) This:egpColor(100, vec(10,10,10))
- This:egpBox(2, vec2(256,256), vec2(512,512)) This:egpColor(2, vec4(30,30,300, 240)) #30,30,30
- This:egpBox(3, vec2(256,256), vec2(512,512)) This:egpMaterial(3, "gui/gradient_down") This:egpColor(3, vec4(58,100,61,70))
- This:egpBox(4, vec2(256,256), vec2(512,512)) This:egpMaterial(4, "gui/gradient_up") This:egpColor(4, vec4(77,191,172,70)) #255, 153, 102
- This:egpBoxOutline(5, vec2(256,256), vec2(512,512)) This:egpSize(5,5)
- This:egpBox(6, vec2(256,136), vec2(400,200)) This:egpColor(6, vec(51,51,51))
- This:egpBox(7, vec2(256,376), vec2(400,200)) This:egpColor(7, vec(51,51,51))
- This:egpBoxOutline(8, vec2(256,256), vec2(410,449))
- This:egpText(9,"K O N T R O L - P A N E L", vec2(256,256)) This:egpAlign(9,1,1) This:egpFont(9,"Courier New",25)
- This:egpBox(10, vec2(256,52), vec2(400,30)) This:egpColor(10, vec4(77,191,172,70))
- This:egpText(11,"I N F O R M A T I O N", vec2(256,52)) This:egpAlign(11,1,1) This:egpFont(11,"Courier New",30)
- This:egpText(19,"- V"+aa()+"ben solgt: "+Sold, vec2(216,80))
- This:egpText(20,"- Tjent: "+Earned+" kr.", vec2(216,100))
- This:egpText(21,"- Kunder: "+Cust, vec2(216,120))
- for(I=18,31){This:egpAlign(I,0,1) This:egpFont(I, "Courier New",20)}
- timer("drawSettings",450)
- }
- function void wirelink:drawActiveWeapons()
- {
- for(I=1,3)
- {
- This:egpBoxOutline(I+70, vec2(96,40+(I*55)), vec2(70,50))
- This:egpBoxOutline(I+74, vec2(176,40+(I*55)), vec2(70,50))
- This:egpText(I+78, "INTET", vec2(96,30+(I*55)))
- This:egpAlign(I+78, 1,1)
- This:egpFont(I+78, "Courier New",15)
- This:egpText(I+82, "INTET", vec2(176,30+(I*55)))
- This:egpAlign(I+82, 1,1)
- This:egpFont(I+82, "Courier New",15)
- }
- }
- function void wirelink:addOption(Index, Text1:string, Text2:string)
- {
- local X = 126 + (130 * CI)
- local Y = 296+(CY*50)
- This:egpBox(100+Index, vec2(X, Y), vec2(120,45))
- This:egpColor(100+Index, vec4(77,191,172,70))
- This:egpText(120+Index, Text1, vec2(X,Y-8))
- This:egpFont(120+Index, "Courier New",20)
- This:egpAlign(120+Index, 1, 1)
- This:egpText(140+Index, Text2, vec2(X,Y+8))
- This:egpFont(140+Index, "Courier New",20)
- This:egpAlign(140+Index, 1, 1)
- CI++
- if(CI > 2){
- CI=0
- CY++
- }
- }
- function void wirelink:drawSettings()
- {
- This:egpBox(32, vec2(256,293), vec2(400,30)) This:egpColor(32, vec4(77,191,172,70))
- This:egpText(33,"F U N K T I O N E R", vec2(256,293)) This:egpAlign(33,1,1) This:egpFont(33,"Courier New",30)
- #[
- This:egpText(35,"Gang rabat", vec2(126,335))
- This:egpText(36,"0%", vec2(126,355))
- This:egpText(38,"Vagt rebat", vec2(126,386))
- This:egpText(39,"0%", vec2(126,406))
- This:egpText(41,"Profit", vec2(126,436))
- This:egpText(42,"4000", vec2(126,455))
- This:egpText(44,"Blacklist", vec2(256,336))
- This:egpText(45,"Spiller", vec2(256,356))
- This:egpText(47,"Whitelist", vec2(256,386))
- This:egpText(48,"Spiller", vec2(256,406))
- This:egpText(49, "Blacklist", vec2(386,336))
- This:egpText(50, "Bande", vec2(386,356))
- This:egpText(51, "Whitelist", vec2(386,386))
- This:egpText(52, "Bande", vec2(386,406))
- This:egpText(53, "Ans"+ae()+"t", vec2(386,436))
- This:egpText(54, "Personale", vec2(386,456))
- This:egpText(55, "Fyr", vec2(256,436))
- This:egpText(56, "Personale", vec2(256,456))
- for(I=49,56){This:egpAlign(I, 1,1) This:egpFont(I, "Courier New",20)}
- ]#
- CIndex = 1
- CI = 0
- CY = 1
- This:addOption(1, "Profit", moneyFormat(Profit)+" kr.")
- This:addOption(2, "Gang rabat", Settings["Gang.Discount", number]+"%")
- This:addOption(3, "Vagt rabat", Settings["Hired.Discount", number]+"0%")
- This:addOption(4, "Blacklist", "Spiller")
- This:addOption(5, "Whitelist", "Spiller")
- This:addOption(6, "Blacklist", "Bande")
- This:addOption(7, "Whitelist", "Bande")
- This:addOption(8, "Ans"+ae()+"t", "Personale")
- This:addOption(9, "Fyr", "Personale")
- timer("drawActiveWeapons",350)
- }
- function wirelink:drawLoading()
- {
- This:egpClear()
- This:egpBox(1, vec2(256,256), vec2(512,512))
- This:egpColor(1, vec(21))
- This:egpText(2, "Indl"+ae()+"ser", vec2(256,256))
- This:egpAlign(2, 1,1)
- This:egpFont(2, "Courier New",32)
- timer("drawCtrl",1025)
- }
- #################
- Ctrl:drawLoading()
- function void entity:r()
- {
- if(!This:isShipment()){return}
- W:pushArray(array(This:getWepName(), This:getWepPrice(), This, 0, 0))
- }
- function void updateShipments()
- {
- R1:r()
- R2:r()
- R3:r()
- R4:r()
- R5:r()
- R6:r()
- }
- function void entity:blacklist()
- {
- local M = Blacklist["Player", table][This:steamID(), number] ? " er allerede blacklisted." : " er nu blacklisted."
- Blacklist["Player", table][This:steamID(), number] = 1
- message(This:name()+M)
- }
- function void entity:whitelist()
- {
- local M = Blacklist["Player", table][This:steamID(), number] ? " er ikke l"+ae()+"ngere blacklisted." : " er ikke blacklisted."
- Blacklist["Player", table][This:steamID(), number] = 0
- message(This:name()+M)
- }
- function number entity:isPlayerBlacklisted()
- {
- return Blacklist["Player", table][This:steamID(), number]
- }
- ##
- ## Blacklist Gang
- ##
- function void entity:gangblacklist()
- {
- if(This:getGangID()==0){message(This:name()+" er ikke med i noget gang.") return}
- local M = Blacklist["Gang", table][This:getGang(), number] ? " er allerede blacklisted." : " er nu blacklisted."
- Blacklist["Gang", table][This:getGang(), number] = 1
- message(This:getGang()+M)
- }
- function void entity:gangwhitelist()
- {
- if(This:getGangID()==0){message(This:name()+" er ikke med i noget gang.") return}
- local M = Blacklist["Gang", table][This:getGang(), number] ? " er ikke l"+ae()+"ngere blacklisted." : " er ikke blacklisted."
- Blacklist["Gang", table][This:getGang(), number] = 0
- message(This:getGang()+M)
- }
- function number entity:isGangBlacklisted()
- {
- return Blacklist["Gang", table][This:getGang(), number]
- }
- function number entity:isBlacklisted()
- {
- return This:isPlayerBlacklisted() | This:isGangBlacklisted()
- }
- function void wp(Nr)
- {
- local Ar = W[Nr,array]
- local Ent = Ar[3,entity]
- if(!Ent:isShipment()){return}
- if(Ar[4, number]){
- Price-=Ar[2,number]
- }else
- {
- Price+=Ar[2,number]
- }
- Ar[4, number] = !Ar[4, number]
- local Col = Ar[4, number] ? vec(255, 174, 66) : vec(255,255,255)
- EGP:egpColor(15+Nr, Col)
- EGP:egpSetText(29, Price:toString())
- if(ops()> 150){return}
- for(I=1, Las)
- {
- EGP:egpRemove(190+I)
- }
- local M = 1
- for(I=1, W:count())
- {
- local A = W[I,array]
- if(A[4,number])
- {
- EGP:egpText(190+M, A[1,string], vec2(76, 178+M*12-12))
- EGP:egpAlign(190+M,1,1)
- EGP:egpFont(190+M, "Courier New",16)
- M++
- }
- }
- Las = M
- }
- }
- if(~User & User & ops()<250 && opcounter()<1900)
- {
- if(S==1)
- {
- if(EGP:egpButton(15, User))
- {
- S=-1
- CurUser=User
- Blckl = User:isBlacklisted()
- updateShipments()
- EGP:drawVelkommen()
- FinalName=CurUser:name():explode("")
- FinalPas="********":explode("")
- timer("distancecheck", 5000)
- }
- }elseif(S==2 & User==CurUser)
- {
- if(EGP:egpButton(16, User)){wp(1)}
- elseif(EGP:egpButton(17, User)){wp(2)}
- elseif(EGP:egpButton(18, User)){wp(3)}
- elseif(EGP:egpButton(19, User)){wp(4)}
- elseif(EGP:egpButton(20, User)){wp(5)}
- elseif(EGP:egpButton(21, User)){wp(6)}
- elseif(EGP:egpButton(23, User)){moneyRequest(User, Price, "K"+oe()+"b af pornoblad")}
- }
- }
- elseif(clk(CLKNAME)){
- if(OPS<250 & CPU<150){
- switch(CLKNAME)
- {
- case "drawCtrl",
- Ctrl:drawCtrl()
- break,
- case "drawActiveWeapons",
- Ctrl:drawActiveWeapons()
- break,
- case "drawSettings",
- Ctrl:drawSettings()
- break,
- case "drawBuyGunz",
- EGP:drawBuyGunz()
- break,
- case "distancecheck",
- if(S==2){
- if(CurUser:pos():distance(EGP:entity():pos())>100)
- {
- EGP:drawLogin()
- }
- timer("distancecheck",5000)
- }
- break,
- case "Pas",
- if(Pas:length()<=FinalPas:count()){
- Pas=Pas+FinalPas[Pas:length(),string]
- EGP:egpSetText(51,Pas:sub(2))
- timer("Pas",100)
- }else{timer("drawBuyGunz",150)}
- break,
- case "name",
- if(S!=-1){break}
- if(Name:length()<=FinalName:count())
- {
- Name=Name+FinalName[Name:length(),string]
- EGP:egpSetText(50,Name:sub(2))
- timer("name",100)
- }else{timer("Pas",100) FinalPas="*******":explode("")}
- break
- }
- }
- else{
- timer(CLKNAME,1900)
- }
- }elseif(moneyClk("K"+oe()+"b af pornoblad"))
- {
- for(I=1, W:count())
- {
- local A = W[I,array]
- local Ent = A[3,entity]
- if(A[4,number])
- {
- if(Ent:shipmentAmount()==1){message("Ude af v"+aa()+"ben: "+A[1,string])}
- if(Ent:isShipment() & Ent:ejectWeapon())
- {
- Omsat+=A[2,number]
- Sold++
- Earned+=Profit
- }else
- {
- message("Fejl i at ejecte et shipment: "+A[1,string])
- }
- }
- }
- EGP:drawLogin()
- Cust++
- Ctrl:egpSetText(19,"- Antal Solgte: "+Sold)
- Ctrl:egpSetText(20,"- Tjent: "+Earned+" kr.")
- Ctrl:egpSetText(21,"- Kunder: "+Cust)
- }elseif(moneyNoClk("K"+oe()+"b af pornoblad") | moneyTimeout("K"+oe()+"b af pornoblad"))
- {
- EGP:drawLogin()
- }
- elseif(chatClk(owner()) &ops()<150)
- {
- local LAS = owner():lastSaid()
- local LS = LAS:explode(" ")
- local LP = lastSpoke()
- local OE = owner():aimEntity()
- if(OE == Ctrl:entity() & ->Ctrl)
- {
- local Ply = tx_FindPly(LAS)
- if(Ctrl:egpButton(101, LP))
- {
- Profit = LAS:toNumber()
- Ctrl:egpSetText(141, moneyFormat(Profit)+" kr.")
- }
- elseif(Ctrl:egpButton(102, LP))
- {
- Settings["Gang.Discount", number] = LAS:toNumber()
- Ctrl:egpSetText(142, Settings["Gang.Discount", number]+"%")
- }elseif(Ctrl:egpButton(103, LP))
- {
- Settings["Hired.Discount", number] = LAS:toNumber()
- Ctrl:egpSetText(143, Settings["Hired.Discount", number]+"%")
- }elseif(Ctrl:egpButton(104, LP))
- {
- Ply:blacklist()
- }elseif(Ctrl:egpButton(105, LP))
- {
- Ply:whitelist()
- }
- elseif(Ctrl:egpButton(106, LP))
- {
- Ply:gangblacklist()
- }elseif(Ctrl:egpButton(107, LP))
- {
- Ply:gangwhitelist()
- }
- hideChat(1)
- }elseif(LS[1,string]=="!shop")
- {
- local Cmd = LS[2,string]
- local Arg = LS[3,string]:toNumber()
- local Str = LS[3,string]
- local FBI = findPlayerBySteamID(Str)
- local Ply = FBI ? FBI : findPlayerByName(Str)
- if(Str==""){Ply = noentity()}
- hideChat(1)
- switch(Cmd)
- {
- case "profit",
- if(Arg==0){message("Profit: "+Profit+" kr.") break}
- Profit = Arg
- message("Profit sat til: "+Profit+" kr.")
- break,
- case "remain",
- if(R1:isShipment()){printColor(vec(255), R1:shipmentName()+" - "+R1:shipmentAmount())}
- if(R2:isShipment()){printColor(vec(255), R2:shipmentName()+" - "+R2:shipmentAmount())}
- if(R3:isShipment()){printColor(vec(255), R3:shipmentName()+" - "+R3:shipmentAmount())}
- if(R4:isShipment()){printColor(vec(255), R4:shipmentName()+" - "+R4:shipmentAmount())}
- if(R5:isShipment()){printColor(vec(255), R5:shipmentName()+" - "+R5:shipmentAmount())}
- if(R6:isShipment()){printColor(vec(255), R6:shipmentName()+" - "+R6:shipmentAmount())}
- break,
- case "blacklist",
- if(Ply:isPlayer())
- {
- Ply:blacklist()
- }
- else
- {
- message("Brug !shop blacklist <Navn>")
- }
- break,
- case "whitelist",
- if(Ply:isPlayer())
- {
- Ply:whitelist()
- }else
- {
- message("Brug !shop whitelist <Navn>")
- }
- break,
- case "blacklistgang",
- if(Ply:isPlayer())
- {
- Ply:gangblacklist()
- }
- else
- {
- message("Brug !shop blacklistgang <Navn>'s gang")
- }
- break,
- case "whitelistgang",
- if(Ply:isPlayer())
- {
- Ply:gangwhitelist()
- }
- else
- {
- message("Brug !shop whitelistgang <Navn>'s gang")
- }
- break,
- #"Sold" Command
- case "sold",
- message("Du har solgt "+Sold+" v"+aa()+"ben - Og tjent "+Earned+"kr.")
- break,
- case "logout",
- EGP:drawLogin()
- message("Loggede en neger ud!")
- break,
- default,
- message("Commands: whitelist - blacklist - blacklistgang - whitelistgang - sold - profit - remain - logout")
- break,
- }
- }
- }
- if(~EGP & EGP){EGP:drawLogin()}
- if(~Ctrl & Ctrl){Ctrl:drawCtrl()}
Add Comment
Please, Sign In to add comment