when zp starts 10seconds later i want freeze zombie just 10seconds and free to move (zombie escape)
Forum
Scripts
[REQUEST] Zombie Lua
[REQUEST] Zombie Lua
24 replieswhen zp starts 10seconds later i want freeze zombie just 10seconds and free to move (zombie escape)
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
addhook("startround","_startround")
function _startround()
	freetimer()
	for _,id in pairs(player(0,"table")) do
		if player(id,"team")==1 then
			parse("speedmod "..id.." -100")
			timer(10000,"parse","speedmod "..id.." 0")
		end
	end
end
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- untested
addhook("startround","hiSir")
function hiSir()
	for k,v in ipairs(player(0,"tableliving")) do
		if (player(v,"team")==1) then -- if zombie
			parse("speedmod "..v.." -100") -- freeze
			timer(10000,"unfreezehim",v)
		end
	end
end
function unfreezehim(id)
	parse("speedmod "..v.." 0")
end
Unfreeze them after 10 seconds (with speed 0, not their original speed)
Im no ninja..
parse(speedmode "..id.." "..zombie[class].speed)
Example..
But when some1 joined the game and spawned or died using suicide (/kill) it would free him. You might be needed something more smart than this.
Maybe there is other timers in this lua. Maybe you not edited "startround" hook of this ZP but just added mine/
Bowlinghead's hook into file? -Frezee Bomb(smoke bomb)
-Multiple Bomb(He)
-Lighting Bomb(flash)
and how can i make zombie plague items like cs1.6 GoldenAK or someting like that
You can't do custom weapons, but you're able to place images over your player while holding certain weapon and you have iid (is like item id on the floor/hand, which is not itemtype id but just id in game) which is possible to set it special value when you pick special iid.
idk how luas work
_Vipersiax: Let me say a truth no one is actually going to help you. If u wanna make a script with your own ideas and stuffs u better learn lua and try something. If u are ready to give up on your ideas and request for some zombie scripts that would work. Or if u need a particular function as u mentioned earlier that would also work.
Thank you.
_Vipersiax has writteni have a idea but i cant find this lua anywhere, someone can help me?
when zp starts 10seconds later i want freeze zombie just 10seconds and free to move (zombie escape)
when zp starts 10seconds later i want freeze zombie just 10seconds and free to move (zombie escape)
that idea looked familiar to me. hmm.
If you are lazy even to learn, no help.
http://unrealsoftware.de/files_show.php?file=17411
a zombie plague script
_Vipersiax: Dude i express my sympathy towards you for not finding a script which suits ur mind. well If u will atleast learn a bit english and explain what you really need in an earthly language we could modify that word sympathy to empathy. with this code and put in sys/lua/autorun
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
addhook("startround","_startround")
function _startround()
freetimer()
for _,id in pairs(player(0,"table")) do
if player(id,"team")==1 then
parse("speedmod "..id.." -100")
timer(10000,"parse","speedmod "..id.." 0")
end
end
end
1 
Offline