Forum

> > CS2D > Scripts > Gut bomb
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Gut bomb

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Gut bomb

thesk5tera
User Off Offline

Zitieren
hi i need some help i try to make this script but not work when zombie trow Gut bomb to CT the CT become Zombie

alt Re: Gut bomb

DC
Admin Off Offline

Zitieren
Use cs2d lua hook hit in combination with cs2d lua cmd addhook.
Check the weapon paramater of cs2d lua hook hit and see if it is a gutbomb (ID 86). Also check if source is a T (=a zombie) and id (the victim) is a CT using cs2d lua cmd player(id,"team"). If all your conditions are true use cs2d lua cmd parse with cs2d cmd maket to make the CT a T (= a zombie in zombie mode).
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht