 |
|
Senior Member
Join Date: Apr 2020
Location: Córdoba, Argentina
|

07-26-2020
, 16:59
Re: func_door help
|
#3
|
Quote:
Originally Posted by Xalus
PHP Code:
public fw_touch(bullet, ent)
{
new class[20];
pev(bullet, pev_classname, class, 19);
if (!equali(class, "pbBullet"))
return FMRES_IGNORED;
new Float:origin[3], class2[20], owner = pev(bullet, pev_owner), is_ent_alive = is_user_alive(ent);
pev(ent, pev_classname, class2, 19);
if (equal(class2, "func_door") || equal(class2, "func_door_rotating"))
return FMRES_IGNORED;
|
I tried this but it only makes the bullets bounce off the door, and it keeps opening
|
|
|
|