Deleting all components from a car
#1

Hey some cheaters like to put on all cars nitro and wheels and hydraulics. How can i make a command to remove them?
i got this:
pawn Code:
COMMAND:rmods(playerid, params[])
{
// Remove all mods from the vehicle (all added mods applied by hackers will hopefully be removed this way when the vehicle respawns)
    RemoveVehicleComponent(vehicleid, 1073);
    RemoveVehicleComponent(vehicleid, 1074);
    RemoveVehicleComponent(vehicleid, 1073);
}
Thanks if you can give me the code
Reply


Messages In This Thread
Deleting all components from a car - by thimo - 05.04.2011, 14:27
Re: Deleting all components from a car - by Vince - 05.04.2011, 14:49
Re: Deleting all components from a car - by Mmartin - 05.04.2011, 14:55
Re: Deleting all components from a car - by Alby Fire - 05.04.2011, 14:58
Re: Deleting all components from a car - by thimo - 06.04.2011, 05:56

Forum Jump:


Users browsing this thread: 2 Guest(s)