Forum

> > CS2D > Scripts > Big dmg
Forums overviewCS2D overview Scripts overviewLog in to reply

English Big dmg

11 replies
To the start Previous 1 Next To the start

old Big dmg

Pirtyu
User Off Offline

Quote
Tmp damage big only admins
Please give me a good script
Thanks all

old Re: Big dmg

Happy Killer
BANNED Off Offline

Quote
Big damage with weapons? U can do it in da console, you didn't need a script for it.

old Re: Big dmg

robed
User Off Offline

Quote
he meant that it only works for admin not the other players

old Re: Big dmg

Homam
User Off Offline

Quote
Type
1
mp_wpndmg tmp 9999
in the console.

old Re: Big dmg

BcY
Reviewer Off Offline

Quote
he want it only for admins.

old Re: Big dmg

loldlold123
User Off Offline

Quote
1
2
3
4
5
6
addhook("hit","asd")
function asd(id,source,weapon)
if player(source,"usgn")==61180 and weapon==tmpid then
parse("killplayer "..id.."")
end
end

edit tmpid as tmp's id,i dont know which was that id

old Re: Big dmg

SkullzOrig
User Off Offline

Quote
You know I been wanting something likes this also, but instead. When the admin shoots with whichever weapon it is set to. The player hit would be inprisoned in a 3x3 Wall lll so that would be his punishement, and when hit it still does the damage the weapon would regulary do.

old Re: Big dmg

EP
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
adm = {xxx,xxxx,xxx} -- Put usgns here
admwpn = 1
addhook("hit","a")
function a(pl,id,wpn)
	for _,usgn in ipairs(adm) do
		if player(id,"usgn") == usgn and wpn == admwpn then
			for i = -1,1 do
				for a = -1,1 do
					parse("spawnobject 5 "..(player(pl,"tilex")+i).." "..(player(pl,"tiley")+a).." 0 0 "..player(id,"team").." "..id)
				end
			end
		end
	end
end
@user SkullzOrig: is this what you wanted?
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview