Shoot and move object about.
#2

I think it must be like this:

Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if(weaponid == 24 && hittype == BULLET_HIT_TYPE_OBJECT)
    {
        if(hitid == TheDoorObject)
        {
        	MoveObject(hitid, x,y,z,speed,rx,ry,rz);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Shoot and move object about. - by Ult1mate - 12.06.2016, 17:15
Re: Shoot and move object about. - by Matz - 12.06.2016, 17:22
Re: Shoot and move object about. - by Ult1mate - 12.06.2016, 17:27

Forum Jump:


Users browsing this thread: 1 Guest(s)