OnVehicleTyreBurst
This event is triggered when a vehicle's tyre bursts.
C# Syntax
[ServerEvent(Event.VehicleTyreBurst)]
Parameters
- vehicle: parameter input should be in Vehicle type
- tyreIndex: parameter input should be in int type
Example
[ServerEvent(Event.VehicleTyreBurst)]
public void OnVehicleTyreBurst(Vehicle vehicle, int tyreIndex)
{
NAPI.Util.ConsoleOutput($"{vehicle.DisplayName} ({vehicle.Handle})'s tire was popped {tyreIndex}.");
}