ExplodeVehicle
Let's explode the specified vehicle.
C# Syntax
void NAPI.Vehicle.ExplodeVehicle(Vehicle vehicle);
Parameters
- vehicle: parameter input should be in Vehicle type
Example
[Command("bigboom")] //Explodes every vehicle on the server
public void BigBoomCommand()
{
foreach (Vehicle vehicle in NAPI.Pools.GetAllVehicles())
{
NAPI.Vehicle.ExplodeVehicle(vehicle);
}
}