You are not logged in.

Jesus

Intermediate

  • "Jesus" started this thread

Posts: 255

Location: Baden Württemberg

Occupation: Betriebselektroniker

  • Send private message

1

Monday, July 23rd 2007, 10:45pm

Admin Cheat Script

hatte da auch vor, ein cheat für admins zu scripten ^^

Das die immer sehen wo die bombe gelegt wird ^^

Source code

1
2
3
4
5
6
7
8
9
block load
{
es_setinfo admins "STEAM_0:1:12705024;....;..."
}

event bomb_planted
{
        if (event_var(es_steamid) in server_var(admins)) then es_tell server_var(admins) #lightgreenBombe wurde auf #green event_var(site) #defaultgelegt.
}
!! Bin Wieder Aktiv !!
==> SUCHFUNKTION <==

Chrisber

Administrator

Posts: 1,030

Location: localhost

wcf.user.option.userOption53: Ja

  • Send private message

2

Monday, July 23rd 2007, 10:53pm

Re: Actiontells

@ Jesus, ob das so funktoiniert bezweifle ich, weill dann nur der Text an den Admin gesendet wird, wenn ein Admin geplanted hat ;)

So long, Chris
Und das letzte, was gesagt wird, wenn die Welt untergeht, ist: das ist technisch unmöglich.

Jesus

Intermediate

  • "Jesus" started this thread

Posts: 255

Location: Baden Württemberg

Occupation: Betriebselektroniker

  • Send private message

3

Monday, July 23rd 2007, 11:04pm

Re: Actiontells

Oh geil stimmt ^^ jetzt weiss ich an was es liegt

Source code

1
2
3
4
5
6
7
8
9
10
11
block load
{
// Hier die Admins per Steam_ID einragen mit einem ; trennen!
es_setinfo admins "STEAM_0:1:12705024"
}

event bomb_planted
{ 
  // Nachricht die Ausgegeben werde soll, sobald die Bombe gelegt wurde
  es_tell server_var(admins) #lightgreenBombe wurde auf #green event_var(site) #defaultgelegt.
}


so schon eher ^^
!! Bin Wieder Aktiv !!
==> SUCHFUNKTION <==

Chrisber

Administrator

Posts: 1,030

Location: localhost

wcf.user.option.userOption53: Ja

  • Send private message

4

Monday, July 23rd 2007, 11:17pm

Re: Actiontells

Mach doch so:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
block load
{
        es_xsetinfo admin1 "STEAM_0:1:12705024"
        es_xsetinfo admin2 "STEAM_0:1:12705024"
        es_xsetinfo admin3 "STEAM_0:1:12705024"
        es_xsetinfo adminsgesamt 3
        es_xsetinfo adminssay 1
}

event bomb_planted
{
        es_setinfo bombsite event_var(site)
        while "server_var(adminsgesamt) == server_var(adminssay)" "es_xdoblock script/telltoadmins"
}

block telltoadmins
{
        es_xsetinfo admintell 0
        es_format admintell "admin%1" server_var(adminssay)
        es_tell server_var(admintell) #lightgreenBombe wurde auf #green server_var(bombsite) #defaultgelegt.
        es_xmath adminssay + 1
}


PS: Gewöhn dir an es_xsetinfo zu benutzen ;P
PS2: Haste ICQ?

So long, Chris
Und das letzte, was gesagt wird, wenn die Welt untergeht, ist: das ist technisch unmöglich.

Jesus

Intermediate

  • "Jesus" started this thread

Posts: 255

Location: Baden Württemberg

Occupation: Betriebselektroniker

  • Send private message

5

Monday, July 23rd 2007, 11:19pm

Re: Actiontells

@ PS 1 ok ^^
@ PS 2 jo 311562875
!! Bin Wieder Aktiv !!
==> SUCHFUNKTION <==