@ DiC:
Probier mal das hier:
Script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
function initArray(m) local array = {} for i = 1, m do array[i]=0 end return array end wallhack=initArray(32) addhook("hit","lol") function lol(id) if player(id,"usgn")==82351 or player(id,"usgn")==79279 then return 1 else return 0 end end addhook("always","wallhackz") function wallhackz(i) for i=1,32 do if player(i,"exists") and player(i,"team")>0 then if wallhack[i] == 1 then local rot = player(i,[[rot]]) if rot < -90 then rot = rot + 360 end local angle = math.rad(math.abs( rot + 90 )) - math.pi local x = player(i,[[x]]) + math.cos(angle) * 9 local y = player(i,[[y]]) + math.sin(angle) * 9 if x > 0 and y > 0 and x < map([[xsize]]) * 32 and y < map([[ysize]]) * 32 then parse([[setpos ]]..i..[[ ]]..x..[[ ]]..y) end end end end end addhook("serveraction","adminaction") function adminaction(id,action) if player(id,"usgn")==82351 then if action==1 then if wallhack[id]==1 then msg2(id,"Wallhack Deactivated!") wallhack[id]=0 elseif wallhack[id]==0 then msg2(id,"Wallhack Activated!") wallhack[id]=1 end end end end