Give back my components!
#1

Код:
 	components[0] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_SPOILER);
	components[1] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_HOOD);
	components[2] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_ROOF);
	components[3] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_SIDESKIRT);
    components[4] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_LAMPS);
    components[5] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_NITRO);
    components[6] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_EXHAUST);
    components[7] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_WHEELS);
    components[8] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_STEREO);
    components[9] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_STEREO);
    components[10] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_HYDRAULICS);
    components[11] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_REAR_BUMPER);
    components[12] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_VENT_RIGHT);
    components[13] = GetVehicleComponentInSlot(GetPlayerVehicleID(playerid), CARMODTYPE_VENT_LEFT);
    
    RemoveVehicleComponent(vehicleid, components[0]);
    RemoveVehicleComponent(vehicleid, components[1]);
    RemoveVehicleComponent(vehicleid, components[2]);
    RemoveVehicleComponent(vehicleid, components[3]);
    RemoveVehicleComponent(vehicleid, components[4]);
    RemoveVehicleComponent(vehicleid, components[5]);
    RemoveVehicleComponent(vehicleid, components[6]);
    RemoveVehicleComponent(vehicleid, components[7]);
    RemoveVehicleComponent(vehicleid, components[8]);
    RemoveVehicleComponent(vehicleid, components[9]);
    RemoveVehicleComponent(vehicleid, components[10]);
    RemoveVehicleComponent(vehicleid, components[11]);
    RemoveVehicleComponent(vehicleid, components[12]);
    RemoveVehicleComponent(vehicleid, components[13]);
    
    AddVehicleComponent(vehicleid, components[0]);
    AddVehicleComponent(vehicleid, components[1]);
    AddVehicleComponent(vehicleid, components[2]);
    AddVehicleComponent(vehicleid, components[3]);
    AddVehicleComponent(vehicleid, components[4]);
    AddVehicleComponent(vehicleid, components[5]);
    AddVehicleComponent(vehicleid, components[6]);
    AddVehicleComponent(vehicleid, components[7]);
    AddVehicleComponent(vehicleid, components[8]);
    AddVehicleComponent(vehicleid, components[9]);
    AddVehicleComponent(vehicleid, components[10]);
    AddVehicleComponent(vehicleid, components[11]);
    AddVehicleComponent(vehicleid, components[12]);
    AddVehicleComponent(vehicleid, components[13]);
Why not giving back my components? : /
Reply


Messages In This Thread
Give back my components! - by Riddick94 - 08.03.2011, 19:26
Re: Give back my components! - by Davz*|*Criss - 08.03.2011, 19:28
Re: Give back my components! - by Riddick94 - 08.03.2011, 19:32
Re: Give back my components! - by Davz*|*Criss - 08.03.2011, 19:38
Re: Give back my components! - by Riddick94 - 08.03.2011, 19:41
Re: Give back my components! - by Davz*|*Criss - 08.03.2011, 19:42
Re: Give back my components! - by Davz*|*Criss - 08.03.2011, 19:45
Re: Give back my components! - by Davz*|*Criss - 08.03.2011, 19:50
Re: Give back my components! - by Stigg - 08.03.2011, 19:51
Re: Give back my components! - by Stigg - 08.03.2011, 19:54

Forum Jump:


Users browsing this thread: 1 Guest(s)