Delegate VehicleDamageAsyncDelegate
Assembly: AltV.Net.Async.dll
Syntax
public delegate Task VehicleDamageAsyncDelegate(IVehicle target, IEntity attacker, uint bodyHealthDamage, uint additionalBodyHealthDamage, uint engineHealthDamage, uint petrolTankDamage, uint weaponHash);
Parameters
| Type |
Name |
Description |
| IVehicle |
target |
|
| IEntity |
attacker |
|
| System.UInt32 |
bodyHealthDamage |
|
| System.UInt32 |
additionalBodyHealthDamage |
|
| System.UInt32 |
engineHealthDamage |
|
| System.UInt32 |
petrolTankDamage |
|
| System.UInt32 |
weaponHash |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|