Puff's GMod Community
Welcome to Puff's Gmod Community.


Join the forum, it's quick and easy

Puff's GMod Community
Welcome to Puff's Gmod Community.
Puff's GMod Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

AdminE2 for the build server.

Go down

AdminE2 for the build server. Empty AdminE2 for the build server.

Post  Gäst Wed Apr 13, 2011 2:18 am

This is the Admin E2 i've been using ingame,

Its as good as its going to get, without adding new stuff to it.

(Runs less than 100 ops)
Code:

@name Admin_E2
@inputs EGP:wirelink
@outputs EGP512
@persist Lock1 Lock T Lock2 B:entity Timer Admin:string Ref
interval(100)
runOnChat(1)
T++
Timer++
EGP512 = 512
#Simple but effective quickjailer
A = owner():aimEntity()
if(owner():keyReload() & owner():keyAttack2() & Lock1 == 0){
    if(A:isPlayer()){
        concmd("ulx jail \""+A:name()+"\"")
        Lock1 = 1
    } elseif(A==noentity()){}
    else{concmd("ulx jail \""+A:owner():name()+"\"")
    Lock1 = 1
    }
}
if(owner():keyReload() & owner():keyAttack2()){}else{Lock1 = 0}
#/end quickjailer

#Blocked wire models finder
if(T < 5 &!Lock2){
    findByClass("gmod_wire_detcord")
}
if(T > 5 & T < 10 &!Lock2){
    findByClass("gmod_wire_field_device")
}
if(T > 10 & T < 15 &!Lock2){
    findByClass("gmod_wire_explosive")
}
if(T > 15 & T < 20 &!Lock2){
    findByClass("gmod_wire_simple_explosive")
}
if(T > 20){
    T = 0
}
B = find()
C = B:owner():name()
if(B == noentity()){Lock2 = 0}
elseif(!Lock2){
    concmd("ulx tsay [Admin E2] "+C+" is using "+B:toString()+" ; ulx slap \""+C+"\"")
    Lock2 = 1
}

#/end blocked models

#EGP HUD
if(Lock2 == 0){
    if(Timer < 100){
        EGP:egpBox(1, vec2(475,20),vec2(50,25))
        EGP:egpColor(1, vec(0,100,255))
       
        EGP:egpBoxOutline(2, vec2(475,20),vec2(50,25))
        EGP:egpSize(2,2)
        EGP:egpColor(2, vec(0,0,0))
       
        EGP:egpText(3, "Clear.", vec2(460,15))
    }
}
if(Lock2 == 1){
    if(Timer < 100){
        EGP:egpBox(1, vec2(435,125),vec2(150,125))
        EGP:egpColor(1, vec(0,150,255))
       
        EGP:egpBoxOutline(2, vec2(435,125),vec2(150,125))
        EGP:egpSize(2,2)
        EGP:egpColor(2, vec(0,0,0))
    }
    EGP:egpText(3, "Name: "+C,vec2(365,70))
    EGP:egpText(5, "SteamID: "+B:owner():steamID(),vec2(365,80))
   
    EGP:egpText(8, "Team: "+B:owner():team():teamName(),vec2(365,100))
#[]#EGP:egpColor(8,teamColor(B:owner():team()))
    EGP:egpText(10,"Is Admin: "+Admin,vec2(365,110))
    EGP:egpText(6, "Frags: "+B:owner():frags(),vec2(365,120))
    EGP:egpText(7, "Deaths: "+B:owner():deaths(),vec2(365,130))
   

    EGP:egpText(4, "Prop: ",vec2(365,150))
    EGP:egpText(9,B:toString(),vec2(365,160))
}
if(B:owner():isAdmin() | B:owner():isSuperAdmin()){
    Admin = "Yes"
    }else{Admin = "no"}

#Refresher
if(!Lock2 & !Ref){
    Ref = 1
    Timer = 0
    EGP:egpClear()
}
if(Lock2 == 1 & Ref == 1){
    Ref = 0
    Timer = 0
    EGP:egpClear()
}
How To Use:
Place it down, wire it to EGP:HUD. wire EGP:HUD to the E2 also.
Refresh E2.

Hold: R + Mouse2 = Jail a person by looking at them / there props.


It also scans for the 4 key minge elements in garrysmod, when one is found, it prints inchat the owner of it, the entity number, and name. Slaps the person using such entity. and gives you a HUD User Display showing key features of the player.

The HUD will automatically disapear once the forbidden entity is removed.

Gäst
Guest


Back to top Go down

AdminE2 for the build server. Empty Re: AdminE2 for the build server.

Post  Lethal (Dexter) Sat Apr 16, 2011 2:48 am

Amazing e2, i was there first time it was brought to server Smile

I recoment using it
Lethal (Dexter)
Lethal (Dexter)

Antal inlägg : 22
Join date : 2011-03-13
Age : 27
Ort : England

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum