Forum

> > CS2D > Scripts > Gut bomb
Forums overviewCS2D overview Scripts overviewLog in to reply

English Gut bomb

3 replies
To the start Previous 1 Next To the start

old Gut bomb

thesk5tera
User Off Offline

Quote
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

old Re: Gut bomb

DC
Admin Off Offline

Quote
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).
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview