A way to delete carz PERMANENTLY?
#6

You asked for a way, and it was given..

Anyways, you can understand what part you should get:
pawn Код:
#include < a_samp >

native IsValidVehicle( vehicleid );

public OnPlayerCommandText( playerid, cmdtext[ ] )
{
    if( !strcmp( "/delallveh", cmdtext, true ) )
    {
        for( new i = 0; i < MAX_VEHICLES; i++ )
        {
            if( IsValidVehicle( i ) ) DestroyVehicle( i );
        }
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
A way to delete carz PERMANENTLY? - by Charlos - 26.08.2013, 08:21
AW: A way to delete carz PERMANENTLY? - by Mellnik - 26.08.2013, 08:50
Re: A way to delete carz PERMANENTLY? - by PT - 26.08.2013, 08:56
Re: A way to delete carz PERMANENTLY? - by Charlos - 26.08.2013, 08:56
Re: A way to delete carz PERMANENTLY? - by Charlos - 26.08.2013, 09:24
Re: A way to delete carz PERMANENTLY? - by Konstantinos - 26.08.2013, 09:33
Re: A way to delete carz PERMANENTLY? - by ProjectMan - 26.08.2013, 09:36
Re: A way to delete carz PERMANENTLY? - by Charlos - 26.08.2013, 09:43
Re: A way to delete carz PERMANENTLY? - by DanishHaq - 26.08.2013, 09:49
Re: A way to delete carz PERMANENTLY? - by Don_Cage - 26.08.2013, 09:50

Forum Jump:


Users browsing this thread: 2 Guest(s)