Files

> > CS2D > Lua Scripts > CT Admin "Wallhack"
Files overviewCS2D overviewLua Scripts overview

English CT Admin "Wallhack" >

88 comments701 b, 3,708 Downloads

old CT Admin "Wallhack"

K-Master
User Off Offline

This is the CT Admin "Wallhack"

Put you USGN ID in This File:

1
adminList = {0}

by the 0 you must write your USGN number!

sry for my bad English i'm From Germany

Press F4 and you can teleport you through the walls

This is a part of the lua
The whole LUA is from Yasday

√You can use this on your Server
√You can Have Fun
√You can say this Lua is from Yasday!
×You dont can say this is your!
×You don't can say this is from K-Master.
edited 5×, last 06.11.10 02:18:49 pm
Approved by GeoB99

Download Download

701 b, 3,708 Downloads

Comments

88 comments
Page
To the start Previous 1 2 3 4 5 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

galaxy
User Off Offline

it doesn t work is there second same hack

old

Yasday
User Off Offline

it should work... idk
are you logged in to us?
edited 1×, last 28.12.10 12:17:54 pm

old Problem

pete1003
User Off Offline

function Array(size,value)
     local array = {}
     for i = 1, size do
          array[i]=value
     end
     return array
end

ct_man = Array(32,false)
adminnokill = Array(32,false)

adminList = {21873}

function isAdmin(id)
for _, usgn in ipairs(adminList) do
if player(id,'usgn')==usgn then
return true
end
end
return false
end

addhook([[join]],[[thejoin]])
function thejoin(id)
if isAdmin(id) then
msg("©000000255Admin "..player(id,"name").." enters the server!")
end
end

addhook([[team]],[[theteam]])
function theteam(id,t)
if isAdmin(id) then
if t==2 then
adminnokill[id]=true
ct_man[id]=true
elseif t==1 then
ct_man[id]=true
           end
else
if t==2 then
parse("maket "..id)
return 1
end
end
end

addhook([[hit]],[[thehit]])
function thehit(id,source,weapon,hpdmg,apdmg)
if adminnokill[id]==true then
return 1
end
end

addhook([[serveraction]],[[servaction]])
function servaction(id,acti)
if ct_man[id]==true then
if acti == 3 then
local rot = player(id,[[rot]])
if rot < -90 then rot = rot + 360 end
local angle = math.rad(math.abs( rot + 90 )) - math.pi
local x = player(id,[[x]]) + math.cos(angle) * 25
local y = player(id,[[y]]) + math.sin(angle) * 25
if x > 0 and y > 0 and x < map([[xsize]]) * 32 and y < map([[ysize]]) * 32 then
parse([[setpos ]]..id..[[ ]]..x..[[ ]]..y)
end
end
end
end





thats right isn't it but when i press F4 on game and go through walls i can't go through it!
I like it!

old

Yasday
User Off Offline

ok thx HaRe, you are best

old

HaRe
User Off Offline

yeah * means that you make it faster like

2*32 = 64 wich will be 2 tiles its like math
2/32 = 16 wich will be a half tile.
I like it!

old

Yasday
User Off Offline

yeah thx HaRe, you're a really good scripter
hmm if you change the code
1
2
mx[id]=mx[id]+(math.sin(math.rad(mr[id]))*10)
my[id]=my[id]-(math.cos(math.rad(mr[id]))*10)
to
1
2
mx[id]=mx[id]+(math.sin(math.rad(mr[id]))*25)
my[id]=my[id]-(math.cos(math.rad(mr[id]))*25)
you will be "faster"(faster in going thrugh walls, don't need push the button more times ). or?

old

HaRe
User Off Offline

I know what you mean, You learn'd this from him. Like you looked at his script and you know how to write the lines simple and nice

If you need an faster "passtru" then here is my version.

1
2
3
4
5
mr[id]=player(id,"rot")
mx[id]=player(id,"x")
my[id]=player(id,"y")
mx[id]=mx[id]+(math.sin(math.rad(mr[id]))*10)
my[id]=my[id]-(math.cos(math.rad(mr[id]))*10)
I like it!

old

Yasday
User Off Offline

lol? i just thought i wanna make them pass thru wals and .. i had one of his first rps but i just looked at it ... one time and i didnt copy or just write it like it was there... i even made an edit of his rp(i know not good but i made creditz in there ;)) and it was like 900 lines now it is 4000...
yeah it totally looks like his part but couldn't it be done by other people too?
ähhm if i wrote some rubbish sry but im not english. im german

old

HaRe
User Off Offline

What do you mean?

redo what?

Thats just like stealing. Coz its looks totaly the same no changes
I like it!

old

Yasday
User Off Offline

lol and you think nobody can redo it

old

HaRe
User Off Offline

this part
1
2
3
4
5
6
7
local rot = player(id,[[rot]])
         if rot < -90 then rot = rot + 360 end
         local angle = math.rad(math.abs( rot + 90 )) - math.pi
         local x = player(id,[[x]]) + math.cos(angle) * 25
         local y = player(id,[[y]]) + math.sin(angle) * 25
         if x > 0 and y > 0 and x < map([[xsize]]) * 32 and y < map([[ysize]]) * 32 then
            parse([[setpos ]]..id..[[ ]]..x..[[ ]]..y)

looks mutch like starkzz ^rp script part, where you can go trought walls with f4
but well its okey
I like it!

old

kNedLiik
User Off Offline

Plz add some screenshots

old

Roooster
User Off Offline

Its not Extracting for me
I like it!

old

Yasday
User Off Offline

@Marcio
What you mean?

@qamersa12
pls speak english

old

qamersa12
User Off Offline

selam ben 0 yerine usgn id yazınca olmuyor.yani gene admin olamıyorum yardım et !
I like it!

old

Yasday
User Off Offline

@Pitecotau 1 star because you are to silly to put admins in???
change the
adminList{0} to adminList{16138,1333,1}
16138,1333,1 are the usgn numbers you want to be admins
so just put the , after each number

old

KaTiL
User Off Offline

Very good !
Nice

5 Stars
/\
||
I like it!

old "-"

Pitecotau
User Off Offline

Is to put others to be adm ?

old

stealth_killer
User Off Offline

1 question when we have the wallhack ts cant do damage to ct when they have the wallhack on how can we turn it off in the game?
I like it!
To the start Previous 1 2 3 4 5 Next To the start