Vehicle Destroying Problem
#1

well i have my cars in a FilterScript and i have it so it destroys the vehicles on exit. but i dont want it to destroy cars with people in them. i have tried

pawn Код:
public OnFilterScriptExit()
{
    for(new p = 0; p < 20; p++)
    {
        for(new i = 0; i < VEHICLES; i++)
        {
            if(!IsPlayerInVehicle(p, i))
            {
            DestroyVehicle(i);
            }
        }
    }
    return 1;
}
But it still takes away the cars for players.

Can someone please post a working code?

P.S. I Searched
Reply


Messages In This Thread
Vehicle Destroying Problem - by [WF]Demon - 06.01.2011, 07:00
Re: Vehicle Destroying Problem - by Joe Staff - 06.01.2011, 07:05
Re: Vehicle Destroying Problem - by Jack Elliott - 06.01.2011, 13:55

Forum Jump:


Users browsing this thread: 1 Guest(s)