OnPlayerWeaponShot - BULLET_HIT_TYPE_OBJECT - Object Stream
#1

Hello,

I tried to do:

pawn Code:
forward OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ);
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if(hittype == BULLET_HIT_TYPE_OBJECT)
    {
        if(IsValidObject(hitid))
        {
            DestroyDynamicObject(hitid);
        }
    }
   
    return 1;
}
It's impossible to destroy dynamic object ? I mean impossible to detect ?
Thanks
Reply


Messages In This Thread
OnPlayerWeaponShot - BULLET_HIT_TYPE_OBJECT - Object Stream - by Noliax8 - 18.01.2014, 16:45
Re: OnPlayerWeaponShot - BULLET_HIT_TYPE_OBJECT - Object Stream - by MP2 - 18.01.2014, 16:48
Re: OnPlayerWeaponShot - BULLET_HIT_TYPE_OBJECT - Object Stream - by Patrick - 18.01.2014, 16:57
AW: OnPlayerWeaponShot - BULLET_HIT_TYPE_OBJECT - Object Stream - by BigETI - 18.01.2014, 17:06
Re : OnPlayerWeaponShot - BULLET_HIT_TYPE_OBJECT - Object Stream - by Noliax8 - 18.01.2014, 18:05

Forum Jump:


Users browsing this thread: 2 Guest(s)