Forum

> > CS2D > Scripts > hp
Forums overviewCS2D overview Scripts overviewLog in to reply

English hp

2 replies
To the start Previous 1 Next To the start

old closed hp

Remulux
User Off Offline

Quote
how add more hp for zombies bot ?

help

Admin/mod comment

... /ohaz

old Re: hp

Rainoth
Moderator Off Offline

Quote
You can't be serious. You already made a thread and we answered it.

add this (like in server.lua file in CounterStrike2D/sys/lua/ directory):

1
2
3
4
5
6
addhook("spawn","give_zombies_health")
function give_zombies_health(id)
	if player(id,"team") == 1 then
		parse("setmaxhealth "..id.." 200")
	end
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview