sheeL's | Anti team flashing v1.0 
23 comments Hello
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
Credits : @
mozilla1:

Thank you and have a nice day!

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
Credits : @


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

Comments
23 commentsLog in!
You need to log in to be able to write comments!Log in

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

@user VADemon: I Try, But no works...
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
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

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

@

@

but the main thing is (de)fuse maps...
@


edited 2×, last 29.07.14 08:33:19 pm
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.
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

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


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...
@
delicate:When u trown a flashnade u cant blind ur own team,only u are blinded.
