DestroyVehicle
#1

Hi,
I have one problem i want to destroy just few cars with this
pawn Код:
public OnVehicleDeath(vehicleid, killerid)
    {
    DestroyVehicle(Car[killerid]);
    return 1;
    }
pawn Код:
new Car[MAX_PLAYERS];
pawn Код:
Car[playerid] =CreateVehicle(522,x+2,y+2,z+2,0.0,-1,-1,-1);// A lot of lines like this


but this car hadn't destroyed.
But if I write DestroyVehicle(vehicleid); then all cars will become destroyable( such as AddStaticVehicle(Ex))

So what I should do to make it work right
Reply


Messages In This Thread
DestroyVehicle - by marrcko - 01.04.2011, 16:59
Re: DestroyVehicle - by Marricio - 01.04.2011, 17:31
Re: DestroyVehicle - by marrcko - 01.04.2011, 17:39
Re: DestroyVehicle - by antonio112 - 01.04.2011, 17:39
Re: DestroyVehicle - by marrcko - 01.04.2011, 20:15

Forum Jump:


Users browsing this thread: 1 Guest(s)