CreateObject
#3

No idea, how to make it properly. =(
Maybe you can destroy it, if player shot in object?
Would be something like this:
pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if(hittype == BULLET_HIT_TYPE_OBJECT)
    {
        if(hitid >= Object[0] && hitid <= Object[2])
        {
             DestroyObject(hitid);
        }  
    }
    return 1;
}
Reply


Messages In This Thread
CreateObject - by finelaq - 10.01.2015, 18:16
Re: CreateObject - by DavidSparks - 10.01.2015, 18:40
Re: CreateObject - by Anuris - 10.01.2015, 18:43
Re: CreateObject - by finelaq - 10.01.2015, 18:50
Re: CreateObject - by finelaq - 11.01.2015, 08:48

Forum Jump:


Users browsing this thread: 1 Guest(s)