Files

> > CS2D > Lua Scripts > sheeL's | Anti team flashing v1.0
Files overviewCS2D overviewLua Scripts overview

English sheeL's | Anti team flashing v1.0 >

23 comments2 kb, 561 Downloads

old sheeL's | Anti team flashing v1.0

sheeL
User Off Offline

Hello us
Today I did for you this simple Lua script, it's useful to (de)fuse maps
I hope that you like it
Maybe on the future I gonna do some changes

Idea : http://unrealsoftware.de/forum_posts.php?post=311447

How it works?,
When you flash your team..., the team member respawn

Versions Updates >


Credits : @user mozilla1:

IMG:https://i.imgur.com/heRVh.jpg



Thank you and have a nice day!
edited 13×, last 01.12.15 10:14:06 pm
Approved by Sparty

Download Download

2 kb, 561 Downloads

Comments

23 comments
Page
To the start Previous 1 2 Next To the start

Log in!

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

old

NanuPlayer
User Off Offline

dude this script is too much easy anyone can do it in 2 minutes.
please work more on your scripts.

old

Bruno Brasil
User Off Offline

sheel e um dos melhores scripts que ja vi

old

lucaSWAT
User Off Offline

Sheel , everyone is talking about your script and bad .
I think this good . " ta foda em vey " .
I like it!

old

sheeL
User Off Offline

@user EP: It won't works bro
edited 1×, last 29.07.14 08:33:48 pm

old

EP
User Off Offline

user sheeL has written
@user VADemon: I Try, But no works...


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
oldpos = {}
for i = 1,32 do
	oldpos[i] = {0,0}
end

function movepos(id)
	for _,i in pairs(player(0,"team"..player(id,"team").."living")) do
		parse("setpos "..i.." "..oldpos[i][1].." "..oldpos[i][2])
	end
end

addhook("projectile","flash")
function flash(id,w)
	if w == 52 then
		for _,i in pairs(player(0,"team"..player(id,"team").."living")) do
			oldpos[i] = {player(i,"x"),player(i,"y")}
			parse("setpos "..i.." 0 0")
		end
		timer(1,"movepos",id)
	end
end

old

sheeL
User Off Offline

@user VADemon: Already tryed, didn't worked
@user Infinite Rain: It was the only existing solution, and the person does not die to be born again, only i used spawnplayer
@user delicate: He comes with all equipment, Yes, this is useful for _cs maps
but the main thing is (de)fuse maps...
@user krabob @user mozilla1: said
edited 2×, last 29.07.14 08:33:19 pm

old

delicate
User Off Offline

AS I understood:
1. Flash your team, it will be respawned
2. It'll get weapons, armor...
3. ??
4. PROFIT

Correct me, if I did a mistake.
edited: "to (de)fuse Map's..., is Very Useful" Isn't it useful for cs_maps? Just whithout a bomb, but with hostages. I think doesn't matter, of course, if this script does what killerboy1 said.
edited 1×, last 05.12.12 12:18:54 pm

old

VADemon
User Off Offline

Why dont you just teleport the player to 0|0 or something?

old

krabob
User Off Offline

@user DarkLight66: Well that's a stupid way to do that. I thought he used user Apache uwu:'s way to do these kind of things.
I like it!

old

Yates
Reviewer Off Offline

@user mozilla1: Basically what Blau Burger said

old

DarkLight66
User Off Offline

The player does not need to be dead for the spawn command to work. However, what this does is every time someone trows a flash bang, everyone in the team re-spawns in the position they were at with all the weapons they had, and the person that threw the nade gets flashed. There are some parts of the script that don't make sense thought...

old

Infinite Rain
Reviewer Off Offline

How does it work? When you flashed, you die, and then respawn again?

If yes, then I dislike it.

old

killerboy1
User Off Offline

@user delicate:When u trown a flashnade u cant blind ur own team,only u are blinded.

old

delicate
User Off Offline

I can't understand, what this script does.

old

Suprise
BANNED Off Offline

@user mozilla1: Not really, he will kick that player. Lol

old

mozilla1
User Off Offline

@user krabob:
He means disabling the whole script for everyone.


@user Yates:
Would be awesome if someone flashes you only to make fun. You'd love to be flashed, isn't it?

old

krabob
User Off Offline

You mean disabling the script or disabling for an individual?

If for an individual, it wouldn't make sense.
I like it!

old

sheeL
User Off Offline

@user Yates: brr
edited 1×, last 01.12.15 10:14:44 pm

old

Yates
Reviewer Off Offline

I like flashing people just to piss them off.

old

lucaSWAT
User Off Offline

sheel noob , lua good :3
I like it!
To the start Previous 1 2 Next To the start