make cmd satdm game mode
#2

a command to remove the parties tuneds from to all vehicles of the server ?

Try this, i'm not sure if it does, but it should be.

PHP код:
CMD:untuneallcars(playeridparams[])
{
    if(!
IsPlayerAdmin(playerid))
        return 
SendClientMessage(playerid, -,"You are not administrator.");

    
SendClientMessage(playerid, -1"All cars has been untuned.");

    for(new 
i!= MAX_VEHICLESi++)
    {
        for(new 
j!= 14j++)
        {
            if(
!= INVALID_VEHICLE_ID)
            {
                
RemoveVehicleComponent(iGetVehicleComponentInSlot(ij));
              
/*VehicleInfo[i][mod1] = 0;
                VehicleInfo[i][mod2] = 0;
                VehicleInfo[i][mod3] = 0;
                VehicleInfo[i][mod4] = 0;
                VehicleInfo[i][mod5] = 0;
                VehicleInfo[i][mod6] = 0;
                VehicleInfo[i][mod7] = 0;
                VehicleInfo[i][mod8] = 0;
                VehicleInfo[i][mod9] = 0;
                VehicleInfo[i][mod10] = 0;
                VehicleInfo[i][mod11] = 0;
                VehicleInfo[i][mod12] = 0;
                VehicleInfo[i][mod13] = 0;
                VehicleInfo[i][mod14] = 0;
                VehicleInfo[i][mod15] = 0;
                VehicleInfo[i][mod16] = 0;
                VehicleInfo[i][mod17] = 0;
                VehicleInfo[i][paintjob] = 0;
                VehicleInfo[i][color_2] = 0;
                VehicleInfo[i][color_1] = 0;*/
            
}
        }
    }
    return 
true;

Reply


Messages In This Thread
make cmd satdm game mode - by s3ek - 11.03.2015, 18:54
Respuesta: make cmd satdm game mode - by JuanStone - 11.03.2015, 19:47
Re: Respuesta: make cmd satdm game mode - by s3ek - 11.03.2015, 19:51
Re: make cmd satdm game mode - by s3ek - 11.03.2015, 20:01
Re: make cmd satdm game mode - by s3ek - 11.03.2015, 20:19

Forum Jump:


Users browsing this thread: 1 Guest(s)