ExplodeVehicle
Let's explode the specified vehicle.
- vehicle: parameter input should be in Vehicle type
{{#tag:syntaxhighlight| [Command("bigboom")] //Explodes every vehicle on the server
public void BigBoomCommand()
\{
foreach (Vehicle vehicle in ``Pools.GetAllVehicles())
\{
``Vehicle.ExplodeVehicle(vehicle);
\}
\}
|lang=csharp}} }}