Forum

> > CS2D > Scripts > regenerate?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch regenerate?

7 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt regenerate?

FironteS
User Off Offline

Zitieren
an script where counter terrorist regenerate your hp?

alt Re: regenerate?

Rainoth
Moderator Off Offline

Zitieren
Use search function in forum or file archive. You didn't read the guidelines, did you..?

alt Re: regenerate?

Alistaire
User Off Offline

Zitieren
1
2
3
4
5
6
7
8
9
addhook('second', '_secondHook')

function _secondHook()
	for _, id in pairs(player(0, 'team2living')) do
		if player(id, 'health') < player(id, 'maxhealth') then
			parse('sethealth '..id..' '..(player(id, 'health') + 1))
		end
	end
end

alt Re: regenerate?

Alpha Beta
User Off Offline

Zitieren
It loops through the team2living table, which contains the IDs of all living CTs.

alt Re: regenerate?

Pseudon
User Off Offline

Zitieren
I think he wants à script to make the CTs be able to act like doctors.
Zitat
counter terrorist regenerate your hp?
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht